Tip 1 : Prepare Data structures regularly
Tip 2 : Have whole knowledge of your project(not only your role)
Tip 3 : Prepare a strategy
Tip 1 : Mention good projects
Tip 2 : Mention your achievements.
3 coding questions were there



[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.



Try to solve the problem in 'Single Scan'. ' Single Scan' refers to iterating over the array/list just once or to put it in other words, you will be visiting each element in the array/list just once.
2 coding were asked



S-1:I sort the arrival and departure times of trains.
S-2: I created two pointers i=0, and j=0, and a variable to store ans and current count plat
S-3: I run a loop while iS-4: If the arrival time is less than or equal to departure then one more platform is needed so increase the count, i.e., plat++ and increment i else decrease the count, i.e., plat– and increment j
S-5: Update the ans, i.e. ans = max(ans, plat).
2 coding questions




S-1:Find a path from the root to n1 and store it in a vector.
S-2: Find a path from the root to n2 and store it in another vector .
S-3: Traverse both paths till the values in arrays are the same. Return the common element just before the mismatch.
Basic questions like "tell me about family members and their occupation", "why hashedin" are asked.
1. Tell me about your family members and their occupation.
2. Why hashedIn?

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?