Tip 1 : Practice Atleast 250 Questions
Tip 2 : Do atleast 2 projects
Tip 3 : Practice good number of questions for Aptitude and Quantitative reasoning
Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.
There were four sections- Aptitude, Coding ,Automata Fix



Initially, reverse the individual words of the given string one by one, for the above example, after reversing individual words the string should be “i ekil siht margorp yrev hcum”.
Reverse the whole string from start to end to get the desired output “much very program this like i” in the above example.



All the elements in the array are distinct.
Input: arr = [3,4,5,1,2]
Output: 1
Explanation: The original array was [1,2,3,4,5] and it was rotated 3 times.
Check for syntax error/ logical error and correct the error to get the desired output.
Given n, print from n to 0
int main()
{
int n;
scanf("%d", &n);
unsigned int i = n;
while(i >= 0)
{
printf("%dn", i);
i--;
}
return 0;
}
Infinite loop
Answer: Error - Logical error
unsigned int i = n; unsigned integer ranges from 0 to 65535, which will be taken in the cyclic order.Soi-- will keep repeating in a cyclic way. The loop will never be terminated. So it should be written as int i = n;
Predict the output of the given pseudo code if the value of a number is 6:
Read number
k = 2
i = 2
while i<=number
k = k * i
i = i +1
end while
write k
Options
a : 1700.0
b : 1560.0
c : 1440.0
d : 1340.0
c) 1440.0
The interviewer started with a coding question followed by skills mentioned in the resume



Given 'ARR' = [1, 10, 5, 2, 8, 1 ] , answer is "ODD".
Here the maximum difference is between 10 and 1, 10 - 1 = 9
Use two loops. In the outer loop, pick elements one by one and in the inner loop calculate the difference of the picked element with every other element in the array and compare the difference with the maximum difference calculated so far



Input: Let the binary tree be:

Output: [10, 4, 2, 1, 3, 6]
Explanation: Consider the vertical lines in the figure. The top view contains the topmost node from each vertical line.
Here we use the two variables, one for vertical distance of current node from the root and another for the depth of the current node from the root. We use the vertical distance for indexing. If one node with the same vertical distance comes again, we check if depth of new node is lower or higher with respect to the current node with same vertical distance in the map. If depth of new node is lower, then we replace it.



Let ‘N’ = 4, ‘Arr’ be [1, 2, 5, 4] and ‘K’ = 3.
then the elements of this array in ascending order is [1, 2, 4, 5]. Clearly, the 3rd smallest and largest element of this array is 4 and 2 respectively.
Different types of overriding method.
What is object oriented programming give real life examples of different type of OOPS concept?
What is Thrashing?
Thrashing is a situation when the performance of a computer degrades or collapses. Thrashing occurs when a system spends more time processing page faults than executing transactions.

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?