Tip 1 : Use internet to find the recent asked questions
Tip 2 : Do time yourself while solving the questions like 20mins or so.
Tip 3 : Always keep the interview more interactive, and do try to get the hints from the interview if you are stuck
Tip 1 : Try to explain your main projects and tech stack you have worked on in brief
Tip 2 : The format should be good, so that it is easy to read and there us no hodgepodge
The round is scheduled according to your availability.
It was on google meets and the interviewer was also helpful
There was a problem statement given like digital wallet with limited functionality like add money, deduct money, give
cashback, etc.
You are supposed to make a digital wallet system that allows people to transfer money.
I used the OOPS concepts and used python as coding language, as you get most of the function out of the box so that saves your time. Rest it is a pretty straight forward problem.
Timings are of your availablity.
They shared google sheets on which you have to write code and dry run it.
Try to talk to interviewer don't sit silent.



Given a binary tree :

All the root to leaf paths are :
1 2 4
1 2 5
1 3
1. Two nodes may have the same value associated with it.
2. The root node will be fixed and will be provided in the function.
3. Note that the nodes in a path will appear in a fixed order. For example, 1 2 3 is not the same as 2 1 3.
4. Each path should be returned as a string consisting of nodes in order and separated by a space.
5. The path length may be as small as ‘1’.
I tried to create all the paths and then store them in a list and then sort the list and the string at index 0 iw your resultant string.
They asked me improve the space complexity so instead of storing the string i compared them as soon as i find the first sting and gave them i result.



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".
1. I explained the brute force method that is using three for loops, which computes all the possible triplets in the array and finds you the answer for the problem
But they asked for more optimised solution. So i used the two pointer approach.
Timing is of your availability
It was more of a discussion on your current on going projects and what tech you have used.

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?