Tip 1 : Try to solve few coding questions so that you are not blank in front of interviewer since it is expected to handle coding in our roles and also it is the screening or preliminary round in maximum companies
Tip 2 : Stay confident , it is acceptable to not know every thing that the interviewer asks
Tip 3 : Try to explain your work in the previous organisation and what is expected of you in the new company aligns with your long term goals
Tip 1: Stay confident and be ready to face the round whenever the recruiter is keeping your interview on any weekend just go with the full intensity
Tip 2: Only add relevant points in your resume that you already know and are capable of explaining them
Any time had to be taken in a 24 hours timeframe



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.
I traversed to the array and had taken few variable for the maximum and second maximum and was able to come up with a solution in the O(N) time
Timing : Evening
The interviewer was helpful and knowledgable was helping if you were getting stuck in middle .



Conditions for valid parentheses:
1. All open brackets must be closed by the closing brackets.
2. Open brackets must be closed in the correct order.
()()()() is a valid parentheses.
)()()( is not a valid parentheses.
I took a stack and was pushing the paranthesis everytime i was encountering opening paranthesis and poping if the closing same parenthesis was encountered and after travesing if the stack was empty then the string contained right amount of paranthesis.



Each pair should be sorted i.e the first value should be less than or equals to the second value.
Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.
Take one element as pivot and find out the difference between the sum and other number in the remaining array
It was in the evening
Tip 1: Just try to explain your work in as detailed manner as possible
Tip 2: Be generous when negotiating for the salary

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?