Stock span and tree sum
Filed under Amazon
The question
Find max span of stock prices; update tree nodes with sum of left and right subtrees.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.