Round 1:
RESUME Selection.Round 2:
* What is an Abstract Class?
* Difference between Sallow copy and deep copy.
* What is a friend in class?
* What is a destructor?and then,
Then, I was asked to write code for the following questions:
You are given the heads of two sorted linked lists, list1 and list2. Merge the two lists into one sorted list. The list should be made by splicing together the nodes of the first two lists. Return the head of the merged linked list.
You are given an array of integers nums, and there is a sliding window of size k moving from the very left of the array to the very right. You can only see the k numbers in the window. Each time the sliding window moves right by one position. Return the max sliding window.
This interview round lasted for 45 minutes.
Round 3:
* Create Node.
* Insert level-wise in the tree.
* Perform Preorder.This interview round lasted for 55 minutes.