Tip 1 : must be focus on goal
Tip 2 : consistency regular basis
Tip 3 : solve old question as much as possible
Tip 4 : Do some projects as well
Tip 1 : Dont put extra thing whatever u know just mention that
Tip 2 : Use more technical key word on resume
first round only there was basic intro and then about previous company experinece along with some technical stuff



The position given will always be less than or equal to the length of the linked list.
Assume that the Indexing for the linked list starts from 0.
Input :
‘K’ = 3, ‘VAL’ = 4
list = [1, 2, 3]
Output: [1, 2, 3, 4]

The ‘VAL’ = 4, is inserted at end of the above doubly linked list.
first of all create a new node and then allocate memory for new node. and assign the data to new node.
then need to set previous and next pointers of new node. point next of new node to the first node of the doubly linked list. point previous to null reorganize the pointers
Make new node as head node.



1. Input array follows 0 - based indexing.
2. After constructing the min-heap, the Left child of the 'i-th' node should be present at the (2*i + 1)-th index if it exists.
3. After constructing the min-heap, the Right child of the 'i-th' node should be present at the (2*i + 2)-th index if it exists.
4. Note that you do not need to create a tree, just update the array.
basic approach for heap
had discussion about last 2 interview round and also about previous company work

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?