https://leetcode.com/problems/search-in-rotated-sorted-array-ii


Runtime: 32 ms, faster than 70.33% of Swift online submissions for Search in Rotated Sorted Array II.
Memory Usage: 14.1 MB, less than 63.74% of Swift online submissions for Search in Rotated Sorted Array II.


```
class Solution {
    func search(_ nums: [Int], _ target: Int) -> Bool {
        for num in nums {
            if (target == num) {
                return true
            }
        }
        return false
    }
}
```