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

I personally like to go line by line in my solution and state the runtime of each line of code. Then I add them together, and write out the limit notation showing as N->inf and how I can cancel certain variables out. Its a little bit of overkill but I've found it helps me stand out a bit during interviews.


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

Search: