# leetle

## 16. Longest Consecutive Sequence

75%

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`

Make sure you `return` your solution, don't print!

```python
def solve(nums):
    pass
```
