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

In your variant do the integers increase in order?

Also is the input always integers or is there some “junk” mixed in?



It doesn't even matter, but sometimes I ask them to do a sliding window de-dupe.

A surprising number of people have a lot of trouble with the reading loop/termination condition.




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

Search: