Tip 1 : Core concepts should be clear.
Tip 2 : Answer Explanation must be to the point.
Tip 1 : CGPA matters.
Tip 2 : Only Projects you are confident about should be kept in resume.

4444
4444
4444
4444



If the input tree is as depicted in the picture:
The Left View of the tree will be: 2 35 2



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

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