Tip 1 :Don't loose confidence,, if you are unable to solve some DSA question, don't loose confidence, and try it again
Tip 2 : Be regular in practising the DSA, and make notes of theory question, which maybe asked in some companies
Tip 3 : You can try easy level DSA questions and then start attending interviews, it will open up your mind and you will get know what type of questions are being asked.
Tip 1: Keep the skills section clearly on the top, and mention the skills in first place for which organization is looking for, like, Java8,Microservices,SpringBoot
Tip 2: mention your total exp. contatc details, don't let the HR to count your experience from your time period you spend with your previous organizations
I got a test link from HR which has expiry of 2 days. But I had to complete that in 90 minutes in single sitting. It contained 20 MCQ's and 3 coding rounds. MCQ's were from OOPS and Java+ spring.
In coding there were 3 questions which is of avg to mid level. I did 1 question fully and 1 questions has satisfied 90% of their test cases.



If the given input string is "Welcome to Coding Ninjas", then you should return "Ninjas Coding to Welcome" as the reversed string has only a single space between two words and there is no leading or trailing space.
I solved it in O(N) with swapping
It happened in evening, and it was 60-70 minutes long.
In this interviewer asked some questions from database , like internal data structure and locking in DB, indexing. But I was able to answer few questions like indexing only. Then they asked a question from array and one from Tree.



Input: arr[] = {1,1,1,2,2,2}
Output: {1,2,1,2,1,2}
Note: {2,1,2,1,2,1} is also valid because there are no two adjacent elements which are the same.



For the given binary tree

The top view of the tree will be {10, 4, 2, 1, 3, 6}.
In this I got stuck and consumed the time. But I was discussing the approach with interviewer continuously. So he knows I am in the right direction and he gave me 10 more minutes and finally I did it.
HR told me I cleared the round and talked about compensation part.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: