Tip 1 : Practice DSA .
Tip 2 : Prepare well your resume.
Tip 3 : Go through CS fundamental and basic system design.
Tip 1 : Well describe your projects and technologies you have worked on.
Tip 2 : Do not lie in your resume.
There were two coding questions in this round .



1. Every train will depart on the same day and the departure time will always be greater than the arrival time. For example, A train with arrival time 2240 and departure time 1930 is not possible.
2. Time will be given in 24H format and colons will be omitted for convenience. For example, 9:05AM will be given as "905", or 9:10PM will be given as "2110".
3. Also, there will be no leading zeroes in the given times. For example, 12:10AM will be given as “10” and not as “0010”.
Sort the arrival time and then compare this with departure time. And also maintaing if next arrival is less than departure then no need for extra platform and if it is less than then we need 1 extra platform.



1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
First sort the array then start from the starting index and for the rest of array using two pointer approach we can get the number of triplets
There was one coding question and questions on my resume .



You can’t sell without buying first.
For the given array [ 2, 100, 150, 120],
The maximum profit can be achieved by buying the stock at minute 0 when its price is Rs. 2 and selling it at minute 2 when its price is Rs. 150.
So, the output will be 148.
You can always store minimum value till that index and calculate profit and try to find maximum profit .
There was one coding questions and then discussion on my resume .



1) A prime number is a number that has only two factors: 1 and the number itself.
2) 1 is not a prime number.
Make a count till it value becomes n and using while loop and using concept from 2 to its square root

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