Tip 1: Prepare DSA thoroughly; I personally recommend Coding Ninjas for interview preparation.
Tip 2: Be confident and relaxed during the interview.
Tip 3: Revise your projects well—understand how they work and their functionalities.
Tip 1: Keep your resume concise (preferably one page) and list only the skills you are confident in.
Tip 2: Avoid adding false information to your resume.
There were 3 Coding Questions, They had easy to hard difficulty.



Simply iterate over all possible pairs and find the maximum possible xor value.



An array c is a subarray of array d if c can be obtained from d by deletion of several elements from the beginning and several elements from the end.
For e.g.- The non-empty subarrays of an array [1,2,3] will be- [1],[2],[3],[1,2],[2,3],[1,2,3].
If arr = {-3,4,5}.
All the possible non-empty contiguous subarrays of “arr” are {-3}, {4}, {5}, {-3,4}, {4,5} and {-3,4,5}.
The product of these subarrays are -3, 4, 5, -12, 20 and -60 respectively.
The maximum product is 20. Hence, the answer is 20.
Can you solve this in linear time and constant space complexity?
By using Dynamic Programming.




If we are given the above binary tree as input then moving from root node(5) to the farthest leaf node(50), the path formed will be [ 5->10->25->35->40->45->50 ]. The total number of nodes encountered is 7, therefore the maximum depth of the binary tree is 7.
By using DFS, I was able to solve.
In the technical interview, the interviewer asked questions on Python, Java, projects, and DBMS. They asked rapid-fire, back-to-back theory questions. I was also not able to solve the coding question fully at that time, which I believe was the main reason for my rejection.



Given array/list can contain duplicate elements.
(arr[i],arr[j]) and (arr[j],arr[i]) are considered same.
I was not able to give optimal answer.

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: