Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You're right. Thanks for the correction.

I guess that demonstrates why it's important to have a REPL or a compiler available for the interviewee. (My computer wasn't available at the time that I wrote the comment.) I just wrote up my solution and confirmed that its terminating condition isn't correct.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: