← Amazon questions

Next Greater Element, Sorted Array to BST, Row with Max 1s

Filed under Amazon

Solve three tasks: 1) Find the next greater element for each element in an array. 2) Convert a sorted array into a height-balanced Binary Search Tree. 3) Find the row index with the maximum number of…

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.