Browse 1 note tagged complexity analysis.
Move from sorting to a Set, expand only sequence starts, and give a rigorous expected O(n) analysis for the longest consecutive sequence problem.
Google services settings
Analytics and advertising stay off until you choose.