# leetle

## 24. Minimum Rotated Sorted Array

80%

Write a function `solve` that finds the minimum element in a rotated sorted array.

**Example:** `Input: [3,4,5,1,2]` `Output: 1`

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

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