Tip 1: Go through your projects thoroughly, and understand every technology used and their substitutes.
Tip 2: Practice at least 100 DSA questions of different types.
Tip 3: Above-average knowledge of core subjects is also important.
Tip 1: Add links to your projects so that the interviewer can access them directly.
Tip 2: Only include topics that you're confident about; don't add them just to fill the space.
The interview was online from home and started at 5:30 PM and monitoring was done via web-cam.



If any live cell has less than two live neighbors, then it dies.
If any live cell has two or three live neighbors, then it lives onto the next generation.
If any live cell has more than three live neighbors, then it dies.
A dead element with exactly three live neighbors becomes a live element.
Your task is to print the next state of this board using these four rules.
Since I solved around 200+ questions before the interview, I decided on the approach and then started writing the code
Step 1:- Create a copy of the original matrix and update the original matrix.
Step 2:- Then find a number of alive and then update the value in the main matrix.



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?
I was unable to solve this problem.
This interview was an online-from-home type and it started at 4 PM. It began with the introduction of the interviewer and interviewee, then followed by the basic intro of my projects.



1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
I solved this using 2 pointer approach
The main thing to keep in mind is, to always explain the approach to the interviewer first then start the code.



It was an online interview conducted from home. It started with introductions by both the interviewer and interviewee, followed by the questions.
Tip 1: Analyse and understand the problem properly, before presenting the solution
Tip 2: Try multiple test cases before sharing the solution
Tip 3: Also explain the solution verbally to the interviewer while presenting the code
Tip 1: Understand all the basic concepts of the language you code in.
Tip 2: Prepare interview ques on OOPS thoroughly

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?