Tower Research Capital interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Tower Research Capital
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, Algorithms , OOPS , DBMS , OS
Tip
Tip

Tip 1 : Practice at least 250 questions
Tip 2 : Do at least two projects
 

Application process
Where: Referral
Eligibility: Python Proficiency
Resume Tip
Resume tip

Tip 1 : Should be covered in One page
Tip 2 : Project description should be professional

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes
Interview date15 Jan 2022
Coding problem1

Consisted of 3 DSA questions and MCQ on python proficiency

1. Palindromic Substrings

Moderate
20m average time
80% success
0/80
Asked in companies
OracleTower Research CapitalAmdocs

You are given a string ‘S’. Your task is to return all distinct palindromic substrings of the given string in alphabetical order.

A string is said to be palindrome if the reverse of the string is the same as the string itself.

For Example:
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.
Problem approach

Solved it using a mathematical score, got a partial score

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date28 Jan 2022
Coding problem1

It was a pure DSA round and interviewer was very helpful with providing significant hints to solve the given problems

1. Find the perimeter

Moderate
0/80
Asked in companies
AdobeBloomsbury PublishingTower Research Capital

You are given a map of an island. Your task is to find the perimeter of the island. The map is represented by a binary grid where ‘0’ represents water, and ‘1’ represents the land.

Note:
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.
For example:
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:

sample1

Here, it can be clearly seen the perimeter of the island is 12. Hence the answer is 12.
Problem approach

Solved it using DFS over graph and calculating perimeter for each connected component.

Try solving now
03
Round
Hard
Video Call
Duration60 minutes
Interview date1 Feb 2022
Coding problem1

DSA+OS

1. Clearing the Forest

Moderate
15m average time
85% success
0/80
Asked in companies
Tower Research CapitalFlipkart limited

Ninja lives in a beautiful city known as Byteland. A grand festive event is going to be organised in the city. To make place for the event, King has ordered Ninja to clear the nearby forest. The forest can be represented in the form of ‘N’*‘M’ grid ‘FOREST’, where each cell of ‘FOREST’ can have one of the possible values:

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.

Ninja is present at the top left corner of ‘FOREST’ i.e. at cell(0,0) and he has to cut down all the trees in ‘FOREST’. In one step ninja can move to any one of the four directions: East, West, North, South.

There is a rule that Ninja must cut off the trees in order from shortest to tallest and after cutting a tree, the value of the cell will become 0.

While standing on a cell with a tree, Ninja always has a choice to cut the tree or pass through the cell. It is guaranteed that no two cells will have the same height and there will always be at least one tree that need to be cut off.

Your task is to help Ninja to cut down all trees in ‘FOREST’ with minimum steps and return the number of steps.

If there is at least one tree that can not be cut off then return -1.

For example :

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:

Example

So, the output will be 4.
Problem approach

Change the (x,y) coordinates into parametric coordinates, and then apply sliding window.

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 6 problems
Interviewed by Tower Research Capital
2892 views
0 comments
0 upvotes
SDE - 1
5 rounds | 7 problems
Interviewed by Tower Research Capital
1277 views
0 comments
0 upvotes
SDE - 1
5 rounds | 6 problems
Interviewed by Tower Research Capital
2928 views
0 comments
0 upvotes
SDE - 1
3 rounds | 4 problems
Interviewed by Tower Research Capital
1609 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes