← Amazon questions

Binary Search and Maze

Filed under Amazon

Find the first and last occurrence of a target element in a sorted array using binary search, and determine if a valid path exists in a binary maze from start to finish given that the traversal allows…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.