Daily challenge for 2025-01-16
16. Longest Consecutive Sequence
Write a function solve that finds the length of the longest consecutive sequence in an unsorted list.
Example:Input: [100,4,200,1,3,2]Output: 4
Run this challenge interactively in Python or JavaScript when the app loads.