/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Google's “Director of Engineering” Hiring Test
(www.gwan.com)
1764 points
fatihky
| 1 comments |
13 Oct 16 15:15 UTC
|
HN request time: 0s
|
source
Show context
sonoffett
◴[
13 Oct 16 15:58 UTC
]
No.
12701639
[source]
▶
>>12701272 (OP)
#
quicksort is O(n^2) which is definitely not the "best big-O" for sorting.
replies(4):
>>12701670
#
>>12701718
#
>>12701729
#
>>12701867
#
sonoffett
◴[
13 Oct 16 16:03 UTC
]
No.
12701670
[source]
▶
>>12701639
#
"how do you count the bits most efficiently?"
What does this even mean?
replies(2):
>>12701753
#
>>12701756
#
UK-AL
◴[
13 Oct 16 16:12 UTC
]
No.
12701753
[source]
▶
>>12701670
#
What i think he means is counting the amount of set(1) bits in the array,
replies(1):
>>12701768
#
1.
sonoffett
◴[
13 Oct 16 16:13 UTC
]
No.
12701768
[source]
▶
>>12701753
#
Thanks, the question makes more sense now :)
ID:
GO
↑