Tip 1 : Practice as much DSA questions as from coding platforms.
Tip 2 : Do at least 3 projects one should be major, if it's in web dev, it would be beneficial.
Tip 3 : Should be good in communication skills
Tip 1 : Not more than 1 page.
Tip 2 : Have at least 3 projects with some achievements in coding contests, and your coding handle should be mentioned like any coding platforms on which you have practiced it.
Tip 3 : Try to keep only those things in resume in which you find yourself comfortable with.
This round was scheduled for the evening hours, and all the participants were required to fill out a form that was shared 2 days prior to the test date. This form was filled out, probably for security reasons and to ensure that no disinterested participant took the test.



Let’s say we have n=4 nodes, 'LEFT_CHILD' = {1, -1, 3, -1} and
RIGHT_CHILD = {2, -1, -1, -1}. So the resulting tree will look like this:
It will return True as there is only one valid binary tree and each node has only one parent and there is only one root.
The idea is to, for each node, check if the maximum value in the left subtree is smaller than the node and if the minimum value in the right subtree is greater than the node.



Applied Dynamic Programming concept to solve this problem.
There was only one female interviewer for this round. She continuously interacted with me and was giving me some good situational problems that were not very easy to answer. Basically, those were open-minded questions which can be answered both ways and that's why I found it quite hard as per my nature but at the end things went well for me.
There are 5 lanes on a racetrack. One needs to find out the 3 fastest horses among total of 25. Find out the minimum number of races to be conducted in order to determine the fastest three.
The approach entails conducting 5 races, with each race group involving 5 horses. In the ensuing step, a sixth race is conducted between the winners of the first 5 races to determine the 3 fastest horses (marked A1, B1, and C1). The seventh race is conducted between horses B1, C1, the second and third horses from A1’s group (A2, A3), and the second horse from B1’s group (B2). The horses that finish 1st and 2nd in the seventh race are actually the 2nd and 3rd fastest horses among all the horses.
Two trains, separated by a distance of 80 km, are running towards each other on the same track at a speed of 40 km/h. A bird takes flight from train X and flies towards train Y at a constant speed of 100 km/h. Once it reaches train Y, it turns and starts flying back toward train X. The bird keeps flying back and forth until both trains collide. Determine the distance traveled by the bird.
Velocity of approach for two trains = (40+40)km/hr
Time taken for the trains to collide = 80km/80km/hr = 1hour
The total distance travelled by the bird = 100km/hr * 1hr = 100km
Through this puzzle, the interviewer is testing your approach. Consider yourself rejected if the approach you took involves calculating distance from X to Y, and then Y to X, and so on.
Note: Basically, it's better if you have seen some puzzles before any HR round since, they will give you an idea of what kind of problem you may encounter and then you can ace any difficult-to-difficult HR interview.

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?