Tip 1 : Practice Problem Solving daily, through different platforms like leetcode, interview bit, Coding ninjas, etc.
Tip 2 : Prepare your projects thoroughly, brush it off before interviews because you might forget stuff about your projects if did them long ago.
Tip 1 : Mention the skills you are confident about. Don't oversell yourself.
Tip 2 : Describe the projects/internships briefly on your resume. Use keywords.
Timing:- 3pm to 5pm (with 30 mins of login window)
Question Types:- 17 MCQ's and 2 Coding questions.



This was the first interview round, it began at 10 AM, at start they asked few questions around the language i usually code in, than they began with OS, DBMS questions and then finally to DSA. Interview =er was very kind, and had friendly attitude.
What are the pillars of OOPS concept?
Difference between a class and interface.
Tip 1: Try to explain it with a small example.
What is Indexing? How is it useful? and then a follow up question about how many types are there and explain them.



I approached the solution using DFS traversal.
At first while traversing the matrix, i kept track of 1s visited. Which costed me an Auxiliary space of O(M X N) and Time complexity: O(M X N)
"M" being the row of matrix and "N" being the column of the matrix.
Then the interviewer asked me optimised the Auxiliary space to O(1).
So i just took care of it by not creating a visited matrix (that i used to kept track of 1s visited).
Yeah so that was all for this question.



For the given binary tree:

The Inorder traversal will be [5, 3, 2, 1, 7, 4, 6].
As, i started approaching the solution with stack, the interviewer stopped me and asked me to do it without stack. Hence then used Morris Traversal.
So this round started at 3 pm, i began with normal introduction and then following up with question on my resume based on my projects, and then to DSA problems.


So i began solving the problem with naive approach by implementing 3 loops. Hence the Time Complexity:- O(N3), Then building on it, improved the solution by implementing 2 loops and storing the sum in a variable. Hence the Time Complexity:- O(N2).
Then to optimise it further, to achieve Time Complexity of O(N), used kadane's algorithm. Finally the interviwer was satisfied and we moved to next question.



1. The input string may contain the same characters, so there will also be the same permutations.
2. The order of permutation does not matter.
As it was pretty straight forward i made a function taking up the starting index and ending index for the string and string itself. For the detailed solution you can refer to GFG. Although interviewer was interested to have me dry run the code and explain each step with comments.



In the given linked list, there is a cycle, hence we return true.

i Started approaching the question with brute force by using hashing, but the interviewer wanted me to optimise it further and told me to do it with constant Auxiliary space and asked me not to modify or make any changes with the given linked list.
So, i gave the solution with Floyd’s Cycle-Finding Algorithm. So he was quite happy with the solution and we moved to the next question.
We have 2 identical, sticks. If we light a stick, it takes 60 minutes to burn completely. But if we light the stick from both sides? It will take exactly half the original time, i.e. 30 minutes to burn completely.
How will we be able to calculate 45 minutes using those 2 sticks.
Tip 1: Burn Stick 1 from both the sides, Stick 2 from one side only.
Tip 2: 30 mins after stick 1 will be finished, and Stick 2 will be half left.
Tip 3: Now burn the Stick 2 from the other end as well. It will get done in next 15 mins. Hence, 45 mins calculated.
This round wasn't technical, it started with my introduction, following that discussed about my interests, hobbies and how the interview experience so far been.
Interviewer asked me about my future goals, how will company contribute to it and all stuff like that. Although the meeting length was supposed to be 30 mins only but interviewer and i talked for like 50 mins. We started discussing about automobile and how he himself been part of Tekion for years, how has company evolved over the span of 5-6 years.
my future goals
How will company contribute to it ?

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?