Tip 1: First master any one programming Language.
Tip 2: Solve coding questions on each topic.
Tip 3: Give mock interviews and live contests.
Tip 1 : Use a one-page resume in the single-column format.
Tip 2 : Check grammatical errors and use action words and quantify your achievements.
Aptitude test



Coding Round



a) Duplicate elements may be present.
b) If no such element is present return -1.
Input: Given a sequence of five numbers 2, 4, 5, 6, 8.
Output: 6
Explanation:
In the given sequence of numbers, number 8 is the largest element, followed by number 6 which is the second-largest element. Hence we return number 6 which is the second-largest element in the sequence.
The idea is to sort the array in descending order and then return the second element which is not equal to the largest element from the sorted array.



Let the encoded sequence be 121,
The first way to decode 121 is:
1 = A
2 = B
1 = A
Thus, the decoded string will be ABA.
The second way to decode 121 is:
12 = L
1 = A
Thus, the decoded string will be LA.
The third way to decode 121 is:
1 = A
21 = U
Thus, the decoded string will be AU.
So, there will be 3 ways to decode the sequence 121 i.e. [(ABA), (LA), (AU)].
The input sequence will always have at least 1 possible way to decode.
As the answer can be large, return your answer modulo 10^9 + 7.
Can you solve this using constant extra space?
This problem is recursive and can be broken into sub-problems. We start from the end of the given digit sequence. We initialize the total count of decodings as 0. We recur for two subproblems.
1) If the last digit is non-zero, recur for the remaining (n-1) digits and add the result to the total count.
2) If the last two digits form a valid character (or smaller than 27), recur for the remaining (n-2) digits and add the result to the total count.
https://leetcode.com/problems/decode-ways/
Coding + ML+ Statistics +SQL
He asked me my height. I told him 178cm. Then he creates one situation that goes like this. There is one river that has a depth of 174cm. He told me that if you don't have anything then how will cross the river? Also, which parameter in the statistics will help find the confidence you will be able to cross the river?
Tip 1: Ask clarifying questions
Tip 2: Understand the problem and write down all the things told by the interviewer.
Tip 3: Explain the Brute force approach and then optimize it. Communication is the Key.
Difference between Regression and Classification Random Forest model.
For classification tasks, the output of the random forest is the class selected by most trees. For regression tasks, the mean or average prediction of the individual trees is returned.
Coding + ML+ Statistics +SQL
If we have left skewed data, tell me the relation between Mean, Median, and Mode.
Generally, if the distribution of data is skewed to the left, the mean is less than the median, which is often less than the mode. If the distribution of data is skewed to the right, the mode is often less than the median, which is less than the mean.
why random forests are called random?
It is called a Random Forest because we use Random subsets of data and features and we end up building a Forest of decision trees (many trees). Random Forest is also a classic example of a bagging approach as we use different subsets of data in each model to make predictions
This round is a formality Interviewer asked me for feedback. Asked me if I am willing to relocate to a foreign country if required. Tried to negotiate the salary.
Some typical HR questions and Interview ends.
Tell me about yourself.
Why do you want to work for our company?
Will you relocate?

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?