Tip 1 : Be Confident
Tip 2 : Get your basics clear
Tip 3 : Make atleast 2 Projects
Tip 1 : Should be align properly
Tip 2 : Do not put false things on resume
There were 2 rounds. One is MCq round+ coding round and 2nd is Tech round cum HR round



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.
The array is divided into four sections:
arr[1] to arr[low – 1]
arr[low] to arr[mid – 1]
arr[mid] to arr[high – 1]
arr[high] to arr[n]
If the ith element is 0 then swap the element to the low range.
Similarly, if the element is 1 then keep it as it is.
If the element is 2 then swap it with an element in high range.



n = 5, k = 2 and arr[] = {6, 5, 4, 8, 7}
The array elements in sorted order are [4, 5, 6, 7, 8]. The ‘2-nd’ smallest element in the array is 5, so the answer is 5.
1. Don’t print anything. Return the value of ‘k-th’ smallest element.
2. ‘k’ is a positive integer and not greater than the size of the array.
3. The array ‘arr’ is unsorted, and all the elements of the array are distinct.
Sort the input array in the increasing order
Return the element at the K-1 index (0 – Based indexing) in the sorted array
The interviewer gave me questions related to DSA and Aptitude. He also ask me questions related to my projects.



The idea is to take every interval one by one and find the number of intervals that overlap with it. Keep track of the maximum number of intervals that overlap with an interval. Finally, return the maximum value.
Follow the steps mentioned below:
Run two nested loops from start to end.
For every iteration of the outer loop, find the count of intervals that intersect with the current interval except itself.
Update the answer with the maximum count of overlap in each iteration of the outer loop.
Print the answer.
How many seconds will a 500-meter long train moving with a speed of 63 km/hour, take to cross a man walking at a speed of 3 km/hour in the direction of the train?
train and man is moving in the same direction so the relative speed will be = (63-3) km/hour = 60 km/hour
Then 60 km/hour * 5/18= 50/3 m/sec
Therefore, time = distance/speed
= 500/ (50/3)
= 30 seconds
So the answer is 30 seconds
explain your projects
difference between delete truncate and drop
explain joins and its type
what is deadlock

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: