Tip 1 : Lay emphasis on DBMS and SQL as those are asked a lot and you are supposed to answer instantly.
Tip 2 : Be very clear about the strengths and weaknesses of your data structures along with their use
Tip 3 : While coding make sure you write clean code and before submitting it to the interviewer try to clean it a little it will give you a huge boost in selection.
Tip 1 : Have some good projects that you really invested your time in and have to speak for .
Tip 2 : Dont lie about your skills on resume because you will be grilled about that
It was in the evening , the questions were fairly simple but covered a wide range of topics rather than depth



Given BST will not contain duplicates.
A Binary Search Tree (BST) whose 2 nodes have been swapped is shown below.

After swapping the incorrect nodes:

Can you do this without using any extra space?
The solution is easy we have to usee inorder the same can be found on the leet code link.



N = 5
JUMP = [1,2,3,4,5]
ANSWER:- The answer should be YES as you can jump from 1st index to 2nd index, from 2nd index to 4th index, and from 4th index to 5th index.
This round was technical round 1 with the round focusing mostly on data structures. The interviewer would be surprisingly quiet and would not entertain any questions after he has said the question and asked you if you understood it .
You were given the variables :
Total money
Price of a chocolate
number of wrappers to be returned for an extra chocolate
and then maximize it.
First a verbal answer then a pseudo code and then code it in the desired language.
Tip 1 : Try some brain teasers from cat exams.
Had to guess the number of traffic lights in the city of Chandigarh since it's based on a grid pattern, and tell them the approach towards it .
Tip 1:Try to start with the smallest units in guestimates and then scale your answer to the extent of the question.
Tip 2: Try to be self-aware and use numbers that actually make sense and numbers that end with 0 to make calculations easier on the fly.



You do not need to print anything, just return the head of the reversed linked list.
generic problem
This round was core technical with lots of questions about dbms and os along with the coding.



For the given binary tree:

The Inorder traversal will be [5, 3, 2, 1, 7, 4, 6].



We cannot use the element at a given index twice.
Try to do this problem in O(N) time complexity.
The solution can be found on leet code , can be solved in a bunch of ways but they are tricking you by giving you an easy question and seeing if you decide to optimize it or not


Input: 'heights' = [[1, 8, 8],[3, 8, 9],[5,3,5]]
Output: 2
Explanation: The route of [1,3,5,3,5] has a maximum absolute difference of 2 in consecutive cells.
The question can be solved in python using a heap and hash map for the path .
I was told to write sql queries for inner join and otuer join .
Explaing 1 Nf 2Nf
What is redis and what is it core functionalities since i had mentioned redis in my resume
It was right after both the coding rounds
Normal every day being what I like my hobbies and a pleasant chat was what happened in this round no serious questions was very laid back and more than a selection round it was a round to know you more

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: