Tip 1 : Solve questions in stipulated time
Tip 2 : Revise periodically
Tip 3 : Solve different kinds of question
Tip 1 : Be honest on your resume
Tip 2 : Be smart with your resume
It was an afternoon round and the interviewer was friendly.




The idea is to use a stack and recursion
Design a seat reservation system. seats are numbered from 1 to n.Implement the SeatManager class:SeatManager(int n) Initializes a SeatManager object that will manage n seats numbered from 1 to n. All seats are initially available.int reserve() Fetches the smallest-numbered unreserved seat, reserves it, and returns its number.void unreserved(int seat Number) Unreserved the seat with the given seatNumber
The optimal solution will be to use MinHeap
It was an evening round and interviewer was friendly.



1. If there is no possible path to change BEGIN to END then just return -1.
2. All the words have the same length and contain only lowercase english alphabets.
3. The beginning word i.e. BEGIN will always be different from the end word i.e. END (BEGIN != END).
the main idea of this problem is here we see 26* words[i].size(), numbers of combinations and check whether that combination is present in our words map or not if it is present and it has not previously visited then we can push it in the queue by increasing its distance as one.

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