Tip 1: Don’t panic in the interview, as even if you are not selected, you will learn a lot from your interview experience and perform well in the future.
Tip 2: Also, I recommend you Coding Ninjas as according to me it is an excellent platform to learn basic coding concepts and to practice coding.
Tip 1: Write whatever you are sure about and have done that. CGPA plays a good role but is ultimately just an eligibility criterion for some companies.
Tip 2: Have at least 1 or 2 good projects from which you know everything involved.
This round consist of two questions and we have to solve both the questions to qualify for the next round.



1. If 'X' is not found in the array, return 0.
2. The given array is sorted in non-decreasing order.



Two coding questions were asked that had a lot of corner cases.






Corresponding to given min heap : [1,2,3,6,7,8]

It can be converted to the following max heap: [8,7,3,6,2,1]

This was the last round






1. INSERT(key, value): Inserts an integer value to the data structure against a string type key if not already present. If already present, it updates the value of the key with the new one. This function will not return anything.
2. DELETE(key): Removes the key from the data structure if present. It doesn't return anything.
3. SEARCH(key): It searches for the key in the data structure. In case it is present, return true. Otherwise, return false.
4. GET(key): It returns the integer value stored against the given key. If the key is not present, return -1.
5. GET_SIZE(): It returns an integer value denoting the size of the data structure.
6. IS_EMPTY(): It returns a boolean value, denoting whether the data structure is empty or not.
1. Key is always a string value.
2. Value can never be -1.
First(Denoted by integer value 1): Insertion to the Data Structure. It is done in a pair of (key, value).
Second(Denoted by integer value 2): Deletion of a key from the Data Structure.
Third(Denoted by integer value 3): Search a given key in the Data Structure.
Fourth(Denoted by integer value 4): Retrieve the value for a given key from the Data Structure.
Fifth(Denoted by integer value 5): Retrieve the size of the Data Structure.
Sixth(Denoted by integer value 6): Retrieve whether the Data Structure is empty or not.

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: