3 ms·
In your variant do the integers increase in order? Also is the input always integers or is there some “junk” mixed in?
by adregan 4y ago
In your variant do the integers increase in order?
Also is the input always integers or is there some “junk” mixed in?
- foobiekr 4y agoIt 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.