← Amazon questions

Grandparent-Parent-Child sum and Circular House Robber

Filed under Amazon

1. Find all grandparent-parent-child triplets in a binary tree whose sum is greater than a given value x, with expected O(n) complexity. 2. Find the maximum sum in a circular array such that no two…

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.