Tip 1 : Be regular in whatever you have started
Tip 2 : Accept challenges and try to do it on your own. Will take time but will be fruitful later
Tip 3 : Practice with some mock interviews also you can refer some interview questions
Tip 1 : Try to Mention facts like your achivements in competitions.
Tip 2 : Don't try to bulk your skills instead mention those which you are most confortable with.



Try to solve the problem in 'Single Scan'. ' Single Scan' refers to iterating over the array/list just once or to put it in other words, you will be visiting each element in the array/list just once.



Step 1: make two pointers i and j pointed to first and last. swap the locations and shift the pointers i to next and j to prev. Continue untill i is smaller than j.
Step 2: Interviewer asked me to code.
Step 3: I did the code



A = [2, 3, 0] , B = [5, 1]
For the first index, A[0] = 2
In array B only 1 is less than 2. Therefore the answer for the first index is 1.
For the second index, A[1] = 3
In array B only 1 is less than 3. Therefore the answer for the second index is also 1.
For the third index, A[2] = 0
Both the elements of array B are greater than 0.
Therefore the answer for the third index is 0.
Hence, the final answer is [1,1,0] in this case.
Step 1: brute force approach is to go through all the numbers and check how many are greater than x.
Step 2: Interviewer asked me to optimize
Step 2: Then I tell him about the second approach which is to sort the array in ascending order and then apply binary search on x. Then return
total size of array minus the index (1 based)
It was technical + hr round
Concepts about oops like what are main features (encapsulation, abstraction, inheritance and polymorphism.) what is polymorphism and its types
What is union and how it differ from struct
There is a rope which can burn totally in an hour and you have a matchstick to ignite the rope. How to calculate 45 minutes by using the rope
Tip 1: cut the rope in two pieces
Tip 2: burn one pice from both ends
Tip 3: after the piece is completely burned ignite the other piece from single end
Suppose you are working on some problem in your company and you get stuck at something and you don't know how to solve this. How will you handle the situation ?
I gave following answers
Tip 1 : I will google the similar problem and see if there is any solution for this
Tip 2 : I will ask my senior for help and discuss it with him
Interviewer is still asking for some more answers which I said I am not able to think any other

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?