Kurumo ([info]angrauko) wrote,
@ 2009-02-25 00:39:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
Tales from interviews

Me: Please describe an algorithm you would use to search for a particular value in a sorted array.
Candidate (MS in CS): <in fits and starts, describes and writes pseudo code for binary search>
Me: What is the running time of this algorithm in terms of O-notation?
Candidate: <brightly> n^2
Me: <falling of a chair> Pardon?..
Candidate: no, wait.. That would have to be 2^n
Me: <chokes on coffee>

Fini



(3 comments) - (Post a new comment)


[info]chorti_shto
2009-02-25 01:15 pm UTC (link)
Candidate was just nervous - not a big deal. I really doubt that he couldn't quickly come up with a right answer for that question in normal circumstances

(Reply to this)


[info]mithrilian
2009-02-25 03:52 pm UTC (link)
муж с утра похихикал :)

(Reply to this)


[info]the_furman
2009-02-25 07:27 pm UTC (link)
абсолютно нормальное явление.

у меня как раз для таких было несколько вопросов для phone-screen припасено было, чтоб как можно быстрее распознавать и время не тратить.

(Reply to this)


(3 comments) - (Post a new comment)

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…