LeetCode Experience · Jan 2021 · Seattle

Amazon | SDE2 | Onsite - Seattle | Search in different rotated sorted array

3 upvotes 1,418 views 3 replies

Interview Experience

Given a rotated sorted array, search for a target. But the rotated sorted array is little different. arr = [5,6,7,(4),1,2,3] target = 2 arr = [6,7,(5),1,2,3,4] target = 5 Notice the array....

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Sorting