Tip 1: Complete at least 10 projects.
Tip 2: Solve at least 150 problem-solving questions.
Tip 3: Contribute to open-source projects.
Tip 1: Create a portfolio to include in your resume.
Tip 2: Add verified certificates to your resume.
It was a coding round in which we had to solve two DSA problems in 60 minutes. Both were real-world problem-type questions.



Given students' ratings : [5, 8, 1, 5, 9, 4].
He gives the students candy in the following minimal amounts : [1, 2, 1, 2, 3, 1]. He must buy a minimum of 10 candies.
1. If two students having the same grade are standing next to each other, they may receive the same number of candies.
2. Every student must get at least a candy.
While practicing problem solving I have solved similar problems, So it was not that tough for me.
It was essentially a technical round where I was asked questions related to my capstone project.



I knew how to do merge sort so it was easy for me to solve this problem with that algorithm.



For the given binary tree

The level order traversal will be {1,2,3,4,5,6,7}.
I have practised the BST and all types of traversal it has, so it was not that tough for me .c
Find the height of the tree. Then for each level, run a recursive function by maintaining the current height. Whenever the level of a node matches, print that node.
This interview was more related to my collaborative skills with others, about company fit etc.
Have you faced any failure in your life and how do you deal with that?
Tip 1: I relate this question to my Sports career.
Tip 2: I explained how to deal with it.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?