Status: New Grad, 2019
Position: SDE1 at Amazon
Location: Bengaluru, India
Date: 17th May, 2019
Round 0 (Hackerearth Online)
- Longest increasing subsequence
- Given start and end time for meetings. Find maximum number of meetings you can attend without overlapping with other meetings. (Activity Selection problem)
Round 1 (Onsite)
- Maximum sum path in a binary tree
Later asked to print path as well.
- Delete nth node from end of Linkedlist
Round 2 (Onsite)
- Check whether a given tree is BST or not
- Number of ways to color n poles with k colors such that no adjacent have same color. Similar question: https://leetcode.com/problems/paint-house-ii
- Most challenging project I have done.
Round 3 (Onsite)
- Given an array, each element representing length of a rope. Connect all ropes such that cost involving in joining two ropes is minimum. Cost to join two rope is sum of length of two ropes.
- Duplicate Linkedlist with random pointers.
- Given a number n. Check if langford pairing is possible or not for n.
- OS questions - Semaphores, Deadlock, livelock
- Java questions - Inner classes, Garbage collection.