Tip 1 : Learn all the common data structures and algorithms in depth and practice them.
Tip 2 : Try to solve as many coding problem as you can from any coding platform.
Tip 3 : Create at least two real world project to apply your knowledge and skill, and make them live to share with community.
Tip 1 : Make the CV simple, clean readable and in well formatted. Do not use too many colours or too many fonts.
Tip 2 : Highlight the most important projects or achievements. Do not elaborate too much, make it crisp.
Tip 3 : CV of the candidate with experience less than 3 should not be more than one page.
Tip 4: Don not put any false or unnecessary information.
The HR person sent me a Hackerrank exam link. I could appear the test as per your suitable time within two days. I attempted the test in morning from my home. The exam was under on camera supervision. So room should be clean and clear. They will observe you. There was two coding questions and 10 MCQ questions related to computer science topics like networking, OS, DBMS, OOP etc. There was no interview.



You may assume that duplicates do not exist in the tree.
For the given tree shown below:

For the binary tree shown in the figure, if ‘X’ = 6, the output will be 1 as node value 6 is present in the BST.
I used recursive way for the solution. All the test cases were passed.



Conditions for valid parentheses:
1. All open brackets must be closed by the closing brackets.
2. Open brackets must be closed in the correct order.
()()()() is a valid parentheses.
)()()( is not a valid parentheses.
I took a stack to solve the problem.
This was the first round of interview through Microsoft teams. I appeared this from my home only in office hour.



Can you solve each query in O(logN) ?
Step 1 : First I solved the problem in iterative way. They told me to do it in Java as the role was for Java developer.
Step 2 : Interviewer asked me to calculate the time and space complexity and I did.



The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Can you solve this problem in O(N) time and O(1) space complexity?
Step 1 : Interviewer asked me to reverse a linked list.
Step 2 : I solved the problem in iterative way.
Step 3 : Interviewer asked me to calculate time and space complexity and I did so.
Step 4 : Interviewer asked me to solve the problem in recursive way too.
Step 5 : I solved the problem in recursive was and he was happy.
This round is also same as previous round, only little bit tougher. I appeared in office hour from my home through teams.



For the given binary tree

The level order traversal will be {1,2,3,4,5,6,7}.
Step 1 : I solved the problem taking one queue.
Step 2 : Interviewer asked me to calculate time and space complexity, I did so.
Step 3 : Interviewer asked me to write code for pre-order, post-order and in-order traversal also.
Step 4 : I solved them in recursive way.
It was a low level system design question. They told me to design an image gallery app, where users can upload and download images. Users can put like and dislike also to each image. They can share the image url too.
Tip 1 : Create some good project which involves some complex database queries, file read write capabilities.
Tip 2 : Learn basics of web, like how HTTP and TCP works, REST API, Response and status codes etc.
Tip 3 : Learn how to store data in DB, what type of DB you need, i.e. Relational DB or NoSQL etc
This was taken by hiring manager. He gave me a string search problem. Then asked some basic questions related to my branch, education, previous project, my achievements, hobbies, strengths, weakness etc.



If a string has 'x' repeated 5 times, replace this "xxxxx" with "x5".
The string is compressed only when the repeated character count is more than 1.
Consecutive count of every character in the input string is less than or equal to 9. You are not required to print anything. It has already been taken care of. Just implement the given function and return the compressed string.
Step 1 : Interviewer asked me to solve the string search problem and asked to return first occurrence.
Step 2 : I solved it in normal naive approach.
Step 2 : Interviewer asked me to solve for all other occurrences to return them in an array, I did so.
Step 3 : Interview asked me if there are any other method I know to solve the problem.
Step 4 : I told KMP and Rabin-Karp method.
Step 5 : He asked to tell the algo in short. I did so.
HR round was also through MS teams only as it was pandemic period. I appeared for the interview in morning.
Tell me about yourself.
What challenges did you face while making your project?
How to handle customers?
What are you expecting from us?
Tip 1 : Think and gather info what you did in your previous company, what you achieve, what difficulties you faced etc.
Tip 2 : Ask about your roles and responsibilities and the expectations from the company also.
Tip 3 : Ask anything related to your work and the company when they will tell you to ask.

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?