Tip 1: Revise all the DSA concepts, especially Linked Lists and Trees.
Tip 2: Be prepared for the GD and Managerial/HR questions.
Tip 3: Go through your resume and projects before the interview.
Tip 1: Have at least 2 projects in your resume that you can explain in detail.
Tip 2: Do not put something that you cannot talk about in your resume.
There were 2 coding questions and these were to be completed using 2 different languages C, C++, and Java.



Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.
You can return the answer in any order.
The standard problem was solved using HashMap. Solved using C++.



You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security systems connected and it will automatically contact the police if two adjacent houses were broken into on the same night.Given an integer array nums representing the amount of money of each house, return the maximum amount of money you can rob tonight without alerting the police.
Solved using recursion, then applied memorization. Solved using Java.
I got shortlisted in the GD and soon got scheduled for a technical interview. The interviewer shared a link with me where I needed to code the DSA problems.



The Fibonacci numbers, commonly denoted F(n) form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding ones, starting from 0 and 1. That is,F(0) = 0, F(1) = 1F(n) = F(n - 1) + F(n - 2), for n > 1.Given n, calculate F(n).



Given a Linked List and a number k, write a function that returns the value at the kth node from the end of the Linked List.
First told an approach that needs 2 traversals.
Then improved the approach to single traversal and coded it after explaining it to the interviewer.



Given the root of a binary tree, return all root-to-leaf paths in any order.
Solved using recursion + backtracking.
Tip 1: Already prepare for such questions, as you can not think of them instantly.
Tip 1: Even if you have not encountered such situations yet, still I would suggest to have some story (think of any such experience in your life) and answer such questions.
This round was taken by the Hiring Manager. This round was more towards the discussion related to my internship work, and projects in my resume.
Tip 1: Be prepared for such questions. You should be able to answer cross questions e.g., why did you use MongoDB and not SQL, why NodeJS, etc.
Tip 1: I would suggest to say "No" for such questions.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?