Tip 1 : Have a clear understanding of OOPS and Computer Networks.
Tip 2 : Revise the top interview questions based on Data Structures and Algorithms.
Tip 3 : Try to do at least 2 projects in your college.
Tip 1 : Put detailed information about your projects on your Resume.
Tip 2 : Have extracurricular activities on your Resume and never lie on your Resume
Tip 3 : Put only that skills of those you are in good control of.
It was an Online test round that included Aptitude questions,Technical Questions and 2 Coding questions and 7 Debugging Questions



Swap nodes from the starting to the nodes from end
Keep increasing the index of the nodes from starting and decreasing the index of the nodes from the end.



If the input tree is as depicted in the picture:
The Left View of the tree will be: 2 35 2
Tip 1 : Go thorough some basic questions of trees as it is very important topic
Tip 2 : First solve the question in your mind.
Tip 3 : Create logic in your mind and then implement it
The timing was around 12:00 PM and the questions were about OOPS and Data Structures and My projects



A = A+B
B = A-B
A = A-B



1. Constructor:
It initializes the data members(queues) as required.
2. push(data) :
This function should take one argument of type integer. It pushes the element into the stack and returns nothing.
3. pop() :
It pops the element from the top of the stack and, in turn, returns the element being popped or deleted. In case the stack is empty, it returns -1.
4. top :
It returns the element being kept at the top of the stack. In case the stack is empty, it returns -1.
5. size() :
It returns the size of the stack at any given instance of time.
6. isEmpty() :
It returns a boolean value indicating whether the stack is empty or not.
Query-1(Denoted by an integer 1): Pushes an integer data to the stack. (push function)
Query-2(Denoted by an integer 2): Pops the data kept at the top of the stack and returns it to the caller. (pop function)
Query-3(Denoted by an integer 3): Fetches and returns the data being kept at the top of the stack but doesn't remove it, unlike the pop function. (top function)
Query-4(Denoted by an integer 4): Returns the current size of the stack. (size function)
Query-5(Denoted by an integer 5): Returns a boolean value denoting whether the stack is empty or not. (isEmpty function)
Operations:
1 5
1 10
2
3
4
Enqueue operation 1 5: We insert 5 at the back of the queue.
Queue: [5]
Enqueue operation 1 10: We insert 10 at the back of the queue.
Queue: [5, 10]
Dequeue operation 2: We remove the element from the front of the queue, which is 5, and print it.
Output: 5
Queue: [10]
Peek operation 3: We return the element present at the front of the queue, which is 10, without removing it.
Output: 10
Queue: [10]
IsEmpty operation 4: We check if the queue is empty.
Output: False
Queue: [10]
The timing was in the Evening and the interview was the Leadership Interview/HR Interview. The interviewer was quite friendly.
Exactly at 09 : 30 pm, What is the angle between the minute needle and the hour needle?
Tip 1 : Prepare frequently asked puzzles in Interviews.
Tip 2 : Take your time and get yourself some time to think over it.
Tip 3 : If you missed something in the question, don't hesitate in asking for repetition of the problem
Tip 1 : Be yourself and stay confident
Tip 2 : Never lie in front of HR
Tip 3 : Stay friendly with the interviewer

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