Tip 1 : Practice at least 250 questions
Tip 2 : Do at least two projects
Tip 1 : Should be covered in One page
Tip 2 : Project description should be professional
Consisted of 3 DSA questions and MCQ on python proficiency



Consider ‘S’ = ‘abba’, all the possible substrings are [ ‘a’, ‘ab’, ‘abb’, 'abba', 'b', ‘ba’, 'bb', ‘bba’ ] out of which [ ‘a’, ‘abba’, 'b’, 'bb'] are palindromic substrings.
Solved it using a mathematical score, got a partial score
It was a pure DSA round and interviewer was very helpful with providing significant hints to solve the given problems



There is only one island and water surrounding it. There are no lakes, i.e., all the water is connected. Each edge of the land is 1 unit.
You are given map = [[0, 0, 0, 0, 0],
[0, 0, 1, 0, 0],
[0, 1, 1, 1, 0],
[0, 0, 1, 0, 0]]
You are given the map as:

Here, it can be clearly seen the perimeter of the island is 12. Hence the answer is 12.
Solved it using DFS over graph and calculating perimeter for each connected component.
DSA+OS


0 -> The cell is empty and Ninja can pass through it.
‘X’ -> The cell contains a tree with a height equal to ‘X’ where ‘X’ > 0 and Ninja can pass through it.
-1 -> The cell can not be visited by Ninja.
If ‘FOREST’ is :
[1,2,0]
[-1,5,-1]
[0,6,7]
We can see we need 4 steps to cut down all trees as shown below:
.png)
So, the output will be 4.
Change the (x,y) coordinates into parametric coordinates, and then apply sliding window.

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