Tip 1 : You must know at least one language thoroughly.
Tip 2 : Data Structures and Algorithms are must. If in interview the best possible solution is through DP and you have no idea about it then try to solve it in less efficient method like greedy algorithm. Similarly for eg:- for tree question if you are not good with LinkedList then try to solve the solution with Array
Tip 3 : You must know about the background of the company you are applying to.
Tip 1: Show off your skills through certificates and courses
Tip 2: "About Me" and "Projects" is the highlight of resume
It happened online at around 9 am in the morning and duration was 1 hour. It had 50 MCQ and 1 coding question . MCQ’s were based on Computer Science Fundamentals and aptitude. The coding question was based on Array.



If there are any duplicates in the given array we will count only one of them in the consecutive sequence.
For the given 'ARR' [9,5,4,9,10,10,6].
Output = 3
The longest consecutive sequence is [4,5,6].
Can you solve this in O(N) time and O(N) space complexity?
We will use hashset and first input all the elements in it and then now 1 traverse in array and check is that element exist less than a[i] if yes continue if not exist then start counting from it and check in sequence a[i] then a[i+1] ….. and increasing counter and at last return
It was both Technical and Managerial round. The Interviewer was really friendly. It started with normal conversation like tell me about yourself, where you based, who all are in family, your strengths and weakness. Then he asked me what I do in my free time. After which he discussed my projects and previous internships. Then he asked 2 problems of which one is coding and other is problem solving. The interview went well and they were happy from my response.



In the case of two closest sums, print the smallest sum.
1) Sort the given array.
2) Loop over the array and fix the first element of the possible triplet, Arr[i].
3) Then fix two pointers, one at i+1 and the other at N-1. Now consider the sum Arr[i+1] + Arr[n-1],
Statement:
The game of Tic-Tac-Toe is being played between two players and it is in below state after six moves.

Can you answer following questions?
Assume that both the players are intelligent enough.
The 7th mark must be placed in square 5 which is the win situation for both X and O. Hence, the 6th mark must be placed in a line already containing two of the opponents marks. There are two such possibilities – the 6th mark would have been either O in square 7 or X in square 9.
As we know both the players are intelligent enough, the 6th mark could not be O in square 7. Instead, he would have placed O in square 5 and would have won.
Hence, the sixth mark must be X placed in square 9. And the seventh mark will be O. Thus O will win the game.

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?