62 points · by jornhub · 5y ago · 6 comments
I especially liked the technique for isolating the least significant set bit, and have sometimes wondered if there are any other places one might use it. Has anyone here ever used that trick in a different context?
Sqrt decomposition is a cool technique IMO too.
(I've been on a range-query kick recently).