Tip 1 : Understand basics first
Tip 2 : Do practice regularly.
Tip 3 : Refresh your OS and OOPS concepts
Tip 1 : Write those projects, which you understand the whole and thorough with it
Tip 2 : Make it of at most one page.
3 coding questions, two of easy and 1 medium(DP)



Straightforward kind of a question.
Face to face coding round, asked 2 questions, of medium complexity



If A = “aab”, B = “abc”, C = “aaabbc”
Here C is an interleaving string of A and B. Because C contains all the characters of A and B and the order of all these characters is also the same in all three strings.

If A = “abc”, B = “def”, C = “abcdefg”
Here C is not an interleaving string of A and B as neither A nor B contains the character ‘g’.
1. Calling the random function and removing and appending at the front of the list
2. Keeping two numbers in one place



1. push(data) :
This function should take one argument of type integer. It pushes the element into the stack and returns nothing.
2. pop() :
It pops the element from the top of the stack and returns nothing.
3. top() :
It returns the element being kept at the top of the stack.
4. getMin() :
It returns the smallest element present in the stack.
Query-1(Denoted by an integer 1): Pushes integer data to the stack. (push function)
Query-2(Denoted by an integer 2): Pops the data kept at the top of the stack. (pop function)
Query-3(Denoted by an integer 3): Fetches and returns the data being kept at the top of the stack. (top function)
Query-4(Denoted by an integer 4): Returns the smallest element present in the stack. (getMin() function)
Various data structure and algo questions



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






Input: Consider the following Binary Tree:
Output:
Following is the level-order traversal of the given Binary Tree: [1, 2, 3, 5, 6, 4]
Hiring manager round, he asked coding questions and probability questions.
the median in the stream of integers, and the probability question I couldn't solve and previous projects I have done.
Who do you admire and why?



If the given string is: STR = "abcde". You have to print the string "edcba".
Try to solve the problem in O(1) space complexity.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which SQL clause is used to specify the conditions in a query?