Tip 1 : Practice problems from different topics.
Tip 2 : Mention team based projects in your resume to showcase team work.
Tip 1 : Since this role is for problem setter, mention your coding profiles with link in resume.
Tip 2 : Write down achievements along with a short description of the event.
It was a 60 minutes coding interview round, where the interviewer asked me a single problem.



I straight away jumped to segment tree.
In each node of the segment tree, we can maintain 3 states, i.e.,
1. Maximum prefix sum
2. Maximum suffix sum
3. Maximum subarray sum
Now, after declaring these states, we just need to transition between nodes and save these states optimally.
The round was to test my video reviewing capabilities.



1. To implement means you need to complete some predefined functions, which are supported by a normal queue such that it can efficiently handle the given input queries which are defined below.
2. The implemented queue must support the following operations of a normal queue:
a. enQueue(data) : This function should take one argument of type integer and place the integer to the back of the queue.
b. deQueue(): This function should remove an integer from the front of the queue and also return that integer. If the queue is empty, it should return -1.
c. peek(): This function returns the element present in the front of the queue. If the queue is empty, it should return -1.
d. isEmpty(): This function should return true if the queue is empty and false otherwise.
3. You will be given q queries of 4 types:
a. 1 val - For this type of query, you need to insert the integer val to the back of the queue.
b. 2 - For this type of query, you need to remove the element from the front of the queue, and also return it.
c. 3 - For this type of query, you need to return the element present at the front of the queue(No need to remove it from the queue).
d. 4 - For this type of query, you need to return true if the queue is empty and false otherwise.
4. For every query of type:
a. 1, you do not need to return anything.
b. 2, return the integer being deQueued from the queue.
c. 3, return the integer present in the front of the queue.
d. 4, return “true” if the queue is empty, “false” otherwise.
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]
I thouroughly reviewed the video and marked important intuitions which the video creator have missed.
It was an interview with the manager of the team for team fitting.
Introduce yourself.
What are your interest?
What are your strengths and weakness?
When did you started practising Data Structures?
I gave an overview of a variety of my interest and my team work.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which keyword is used for inheritance?