Tip 1 : Practice Competitive Coding questions(atleast 2 questions daily)
Tip 2 : Work on atleast 2 projects
Tip 3 : Prepare for HR question in advance
Tip 1: One page resume would be prefer with the details you can handle
Tip 2: Atleast 1 project should be there
Tiiming: According to your convenience.
Environment/platform was user friendly.
They gave you 2 retry to write your answers.
No interviewer in this 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.
1) Take 2 variables a & b , then initialize a with first element of array, which is arr[0].
2) then traverse array with arr[1], then check conditions:
i) If the current element in array say arr[i] is greater than a. Then update a and b as,
b = a
a = arr[i]
ii) If the current element is in between a and b, then update b to store the value of current variable as
b = arr[i]
3) Return the value stored in variable b.



Two strings are said to be a permutation of each other when either of the string's characters can be rearranged so that it becomes identical to the other one.
Example:
str1= "sinrtg"
str2 = "string"
The character of the first string(str1) can be rearranged to form str2 and hence we can say that the given strings are a permutation of each other.
1) Create a hashmap and store count of characters of string a in it.
2) Now loop over string b and check if current character already exist or not.
3) If Yes reduce the count.
4) At the end check if all the keys are 0, then its a anagram.
It was in afternoon
Environment was friendly and comfortable
Interviewer was very friendly.
What are OOPS concept?
What is multithreading?
What Garbage Collector do?
Tip 1: Keep it short and simple. Don't stretch the answer.
Tip 2: Read basics of each language.
Its a versant round, to check you english.( Your communication and hearing skills)
Why should we hire you?

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?