Tip 1: Do not be nervous
Tip 2 : Ask questions from the interviewer if you are confused
Tip 1 : Mention your coding achievement in the resume
Tip 2 : You should have at least one good project on your resume.
This was a DS/Algo round.
Timing was 4:00pm-5:00pm IST.
The interviewer was very friendly.
He asked for my introduction.



Input: ‘asteroids’ = [3,-2,4]
Output: [3, 4]
Explanation: The first asteroid will destroy the second asteroid. Hence, after the collision, the state of the asteroids will be [3,4].
You don’t need to print anything. Just implement the given function.
Step 1 : I was able to think of a stack solution directly.
Step 2 : We have to keep track of asteroids that are moving in the right direction.
Step 3 : When we found an asteroid that is moving in the left direction then we will use the stack to check asteroids that will collide.



'S' = "{}()".
There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
Timing was 3:00pm-4:00pm IST
Interviewer was friendly
He asked for my introduction. We dry run the code for the question.



The same word in the dictionary can be used multiple times to make sentences.
Assume that the dictionary does not contain duplicate words.
Step 1 : Was able to recognize that it was a question of backtracking.
Step 2 : Created a unordered hashmap to check if any string is part of dictionary or not.
Step 3 : Traverse the string in recursive manner.
Step 4 : For each prefix, we check if it is part of dictionary or not. If it is part of dictionary then include this prefix string in answer otherwise include the next character in the string.

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