Hacker News new | ask | show | jobs
by dsymonds 3711 days ago
Okay, how do you find a string of N 1's in a very long bit pattern? What's the space and time complexity of your solution? (hint: you can do a lot better)