Tip 1 : Regarding DSA preparation, I have a theory. 20 percent of the questions will be asked in 80 percent of the interview and 80 percent of the questions will be asked in 20 percent of the interviews. In short, some questions have a very high chance of coming up during the interviews and some have very low chance. We should focus more on the questions that have more chance of coming up in the interview. You can find these questions on Striver SDE Sheet, InterviewBit, Leetcode 100 most liked, Leetcode 100 most important.
Tip 2 : Try to find patterns in the questions. Group them according to a pattern for better understanding. Make notes in Excel, word or hand written and revise them.
Tip 3 : Try to solve the questions that have more chance of coming up in the interview with many different approaches.
Tip 1 : Don't have summary, career goals, hobbies in your resume.
Tip 2 : Mention coding profile links. Do internships, participate in hackathons and make projects to enhance your resume. Have a good Linkedin profile. Linkedin is the new resume.
It was a online coding round with 7 debugging questions and 2 coding questions. There was also an additional HR assessment at the end but i dont think it has any weightage. HR assessment has real life situations and you need to tell how you would react. I would suggest just go with your instincts. In some questions, there is no right or wrong answer. Just answer all the questions with the same philosophy. Dont give contradicting answers.


Input: 'N' = 5, 'R' = 2
Output: 10
The value of 5C2 is 10
After taking the modulo with 10^9 + 7 we get 10.



For the given binary tree:

Subtree with the largest sum is highlighted in the above image. The sum is (-2 + 4 + 7) = 9
Interviewer was really friendly. He asked me some questions on my resume just to break the ice. he made it clear that we will be solving 2 coding questions along with code and some followups.



Here XOR denotes the bitwise operator (^).



1. The grid has 0-based indexing.
2. A rotten orange can affect the adjacent oranges 4 directionally i.e. Up, Down, Left, Right.
I got a call for second round on the same day. Interviewer was really friendly. He asked me some questions on my projects and my past internships. He didnt ask much technical questions but wanted to know my learnings.



Step 1 : Give brute force backtracking solution
Step 2 : Give min heap solution




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?