Tip 1 : Get your basics of DSA strong
Tip 2 : Maintain consistency in practicing coding questions.
Tip 1 : Keep it short - 1-2 pages max
Tip 2 : You can have different resumes while applying for different roles highlighting the skills required for the role you are applying for.
There was a coding test for screening process, after which you are proceeded to the interviews.



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 solve this if you have a basic idea of coding and arrays. I was asked to write the code and run it against the input they provided.



Input:
'num1' : 1 -> 2 -> 3 -> NULL
'num2' : 4 -> 5 -> 6 -> NULL
Output: 5 -> 7 -> 9 -> NULL
Explanation: 'num1' represents the number 321 and 'num2' represents 654. Their sum is 975.
This is also a commonly seen question in many coding platforms. I was asked to write the code and run it against the input they provided.




The left view of the above binary tree is {5, 7, 14, 25}.
I was taking time to write the code. So due to time constraint the interviewer asked me to explain the approach and move on.



For the given binary tree [1, 2, 3, -1, -1, 4, 5, -1, -1, -1, -1]
1
/ \
2 3
/ \
4 5
Output: 1 3 2 4 5
I explained the approach and wrote the algorithm for it.
It was a Hiring Manager round. The interviewer started with introduction and a couple of questions about my past experience and some questions about my projects.
Tell me about yourself.
Tell me about your previous work experiences.
Tell me about your projects.
Tip 1 : Be confident and positive.

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?