Tip 1 : for experienced people stick to leet code and do popular questions
Tip 2 : if you want to invest then go for algoexpert as it has a really good question bank and bang for buck
Tip 3 : keep note of every interview question you face and practice them before going to next
Tip 1 : always know everything on your resume don't put anything that you don't know.
Tip 2 : do put some interesting hobbies if you are from circuit branches and know about them sometimes you face questions about them as well.
it was a 90-120 minute round in which there were 50 language and framework-specific questions according to my tech stack and expertise along with 2 easy level coding questions, it was in a home environment with video and microphone being recorded, and the MCQ questions range in difficulty where as both coding questions were easy to medium level difficulty and the time constrain were given for both the problems .



We cannot use the element at a given index twice.
Try to do this problem in O(N) time complexity.
This problem can be solved efficiently by using the technique of hashing.
Use a hash_map to check for the current array value x(let),
if there exists a value target in sum-x which on adding to the former gives target_sum.
This can be done in constant time.



F(n) = F(n - 1) + F(n - 2),
Where, F(1) = 1, F(2) = 1
"Indexing is start from 1"
Input: 6
Output: 8
Explanation: The number is ‘6’ so we have to find the “6th” Fibonacci number.
So by using the given formula of the Fibonacci series, we get the series:
[ 1, 1, 2, 3, 5, 8, 13, 21]
So the “6th” element is “8” hence we get the output.
step 1: Declare an array of size n.
step 2: Initialize a[0] and a[1] to 0 and 1 respectively.
step 3: Run a loop from 2 to n-1 and store
sum of a[i-2] and a[i-1] in a[i].
step 4: Print the array in the reverse order.
it was a 3 hour round in which we started off with an introduction and then about the past work that I have done followed by what we'll be doing throughout this interview, in this 3 hour round i was asked to design backend API for a problem statement he had given me. I have to follow him up with the questions and then design the whole backend accordingly to provide those api's
he asked me to design the whole backend along with 4 APIs for the problem statement was, I have to build an entrance registry system for an office means anyone coming into the office would have to be assigned a space in any of the rooms and any of the chairs, and then their location would be fixed for every day, anyone can change their seats to any location in any rooms provided no one is sitting on the same seat, and have to update the seat for that record, and then total no of seats occupied for the day.
the 4 api's were
1st api for adding attendance
request :
response: {date:YYYY:MM:DD, room: room no/name, seat: seat no}
2nd api for checking seats occupied for the day
request:
response: [{room: room no, seats: seat no 1, seat no 2 .....}, {room: room no 2, seats: seat no 1, seat no 2 .....}...]
3rd api for change in seats
request: ,
response: {new room: room no, seat: seat no}
4th api for checking person's seat for a day
request:
response: {room: room no, seat: seat no}
Tip 1 : first cross-question with the interview as much as you can and get as much detail as possible.
Tip 2 : then discuss with him your approach for choosing/designing the models and other things before you get into coding
Tip 3 : then get into coding any encounter any questions he may have while you code or just start with coding
this round was to test my general thinking about the company and people or how social I'm or if I'll be a good fit for the company or not, situation-based questions were there like what if my manager is angry with my performance, or if we get in a heated argument where I know I'm right kinda behavioral round.
introspect questions like what do you think about yourself
will you be able to work under a lot of work pressure
behavioral questions like what if my team lead is forcing me to do things in a certain way which i know is not the optimal way
Tip 1 : be calm and take your time to think about what is ideal in the situation
Tip 2 : don't try to impress the interviewer , think what you would do in the situation
Tip 3 : do politely frame your answers and don't try to sound cocky, saying no is okay if you feel so

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?