Tip 1 : Practice DSA as much as you can.
Tip 2 : Clear all your basics in object oriented programming.
Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.
It started around 4 pm.Test contain mcqs of aptitude and there were some coding questions too.


The width of each bar is the same and is equal to 1.
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].
Output: 10
Explanation: Refer to the image for better comprehension:

You don't need to print anything. It has already been taken care of. Just implement the given function.



If two words have the same frequency then the lexicographically smallest word should come first in your answer.
Can you solve it in O(N * logK) time and O(N) extra space?
It contains questions from DSA,OOP,OS.



getSize: Returns an integer. Gets the current size of the stack
isEmpty: Returns a boolean. Gets whether the stack is empty
push: Returns nothing. Accepts an integer. Puts that integer at the top of the stack
pop: Returns nothing. Removes the top element of the stack. It does nothing if the stack is empty.
getTop: Returns an integer. Gets the top element of the stack. Returns -1 if the stack is empty
Tell me about you.
Why NXP?
What is your biggest achievement?
Tip 1 : Be confident.

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