Tip 1 : Focus on Linked List and Trees for the first round of interview, the problems generally revolve around Medium to High difficulty
Tip 2 : For Round 2, you need to prepare LLD and HLD. You should know your current project thoroughly
Tip 1 : Keep your resume crisp and clear. Do not mention basic things like developed APIs for this or that. Mention facts about the kind of processing that you've done
Tip 2 : Do mention any open-source/off-work projects if you've done any.
Timing: Morning
Environment: The interviewer was very friendly and kept the environment constructive.
Problems: Mostly basic Problem solving and Trees



A 'deep copy' of a linked list means we do not copy the references of the nodes of the original linked list, rather for each node in the original linked list, a new node is created.



For the given binary tree: [1, 2, 3, -1, -1, 4, 5, -1, -1, -1, -1]
Start Node: 3
1
/ \
2 3
/ \
4 5
Output: 2
Explanation :
In the zeroth minute, Node 3 will start to burn.
After one minute, Nodes (1, 4, 5) that are adjacent to 3 will burn completely.
After two minutes, the only remaining Node 2 will be burnt and there will be no nodes remaining in the binary tree.
So, the whole tree will burn in 2 minutes.
Design a Rewards System.
requirement:
1. User should be able to see available rewards.
2. User should be able to claim rewards.
3. Rewards may have a eligibility criteria like referrals, min transactions
4. The system should be highly scalable and robust.
5. There should be no Single Point of Failure
Tip 1 : Try to identify the various entities and their interactions.
Tip 2 : Get an idea of traffic from the interviewer to analyse memory and bandwidth requirements
Tip 3 : Do not over-complicate the problem, keep you design simple, modular.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is the purpose of the return keyword?