Re:A Google Interviewing Story
by jamesaguilar on Saturday November 20, 2010 @01:52AM
(#1924031)
Maybe in a different problem it would fail, but this is merely a presence test, so booleans are fine. At any rate, an array of int32s instead of bools would defeat the objection for reasonably long strings.
[ Parent
| on HN ]
Re:A Google Interviewing Story
by tedunangst on Saturday November 20, 2010 @12:30PM
(#1924843)
This is that different problem. The author's description is muddy, but you do need the counts.