Amazon Interview Question

Then one task to code in online editor: 1.I had simple task for DFS: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. Find the total sum of all root-to-leaf numbers. 2. Given a grouping of Amazon Objects, where an Amazon Object has a name, a unique identifier, a number of clicks, and a category, can you write a function that returns the Top N items in each category? 3. Find all files in filesystem which size is greater then 5 mb. 4. TinyUrl system design.

Interview Answer

Anonymous

Apr 24, 2020

Resolve as many task on data structures and algorithms as you can

1