Add office photos
Tower Research Capital LLC logo
Employer?
Claim Account for FREE

Tower Research Capital LLC

3.7
based on 16 Reviews
Filter interviews by
Software Developer
Clear (1)

10+ Tower Research Capital LLC Software Developer Interview Questions and Answers

Updated 16 Sep 2024

Q1. Print Nodes at Distance K from a Given Node

Given an arbitrary binary tree, a node of the tree, and an integer 'K', find all nodes that are at a distance K from the specified node, and return a list of these no...read more

Ans.

Given a binary tree, a target node, and an integer K, find all nodes at distance K from the target node.

  • Traverse the binary tree to find the target node.

  • Use BFS to traverse the tree from the target node to nodes at distance K.

  • Keep track of the distance while traversing the tree.

  • Return the values of nodes at distance K in any order.

Add your answer
right arrow

Q2. Unweighted Graph Shortest Path Problem

You are tasked with finding the shortest path between two houses in the city of Ninjaland, represented as an unweighted graph. The city has N houses numbered from 1 to N a...read more

Ans.

Find the shortest path between two houses in a city represented as an unweighted graph.

  • Use breadth-first search (BFS) algorithm to find the shortest path in an unweighted graph.

  • Start BFS from the source house and keep track of the path taken to reach each house.

  • Once the destination house is reached, backtrack from destination to source to find the shortest path.

  • Consider using a queue data structure to implement BFS efficiently.

  • Handle cases where multiple shortest paths exist ...read more

Add your answer
right arrow

Q3. Clearing the Forest Problem Statement

Ninja lives in a city called Byteland where a festive event is being organized. To make space for this event, Ninja is tasked with clearing a nearby forest. The forest is r...read more

Ans.

Calculate the minimum number of steps Ninja needs to cut down all trees in a forest grid.

  • Iterate through the grid to find the shortest path to cut down all trees in order.

  • Use a priority queue to keep track of the shortest trees to cut next.

  • If it's impossible to cut all trees, return -1.

  • Consider all four cardinal directions for movement in the grid.

Add your answer
right arrow

Q4. Palindromic Substrings Problem Statement

Given a string S, your task is to return all distinct palindromic substrings of the given string in alphabetical order.

Explanation:

A string is considered a palindrome ...read more

Ans.

Return all distinct palindromic substrings of a given string in alphabetical order.

  • Iterate through all possible substrings of the given string.

  • Check if each substring is a palindrome by comparing it with its reverse.

  • Store all palindromic substrings in a set to ensure uniqueness.

  • Return the sorted list of palindromic substrings.

Add your answer
right arrow
Discover Tower Research Capital LLC interview dos and don'ts from real experiences

Q5. Rearrange Array Numbers for Largest Possible Number

Given an array ARR consisting of non-negative integers, rearrange the numbers to form the largest possible numerical value. You are not permitted to alter the...read more

Ans.

Rearrange array numbers to form the largest possible numerical value by combining digits of each number in the array.

  • Convert integers in the array to strings for easier manipulation.

  • Sort the array of strings in non-increasing order based on custom comparison function.

  • Join the sorted strings to form the largest possible number.

Add your answer
right arrow

Q6. Check If Two Nodes Are Cousins

You are given an arbitrary binary tree consisting of N nodes, where each node is associated with a certain value, and two node values, a and b. Your task is to determine if these ...read more

Ans.

Check if two nodes in a binary tree are cousins by comparing their levels and parents.

  • Traverse the tree to find the levels and parents of the given nodes.

  • Compare the levels and parents of the two nodes to determine if they are cousins.

  • If the levels are the same and the parents are different, the nodes are cousins.

Add your answer
right arrow
Are these interview questions helpful?

Q7. Counting Nodes in a Complete Binary Tree - Problem Statement

Given the root of a complete binary tree, calculate the total number of nodes in this tree.

A complete binary tree is defined as a binary tree in whi...read more

Ans.

Count the total number of nodes in a complete binary tree given its root.

  • Traverse the tree in level order and count the nodes

  • Use a queue to keep track of nodes at each level

  • Check for null nodes represented by -1 in the input

  • The total number of nodes in the example tree is 7

Add your answer
right arrow

Q8. Subarray Challenge: Largest Equal 0s and 1s

Determine the length of the largest subarray within a given array of 0s and 1s, such that the subarray contains an equal number of 0s and 1s.

Input:

Input begins with...read more

Ans.

Find the length of the largest subarray with equal number of 0s and 1s in a given array.

  • Iterate through the array and maintain a count of 0s and 1s encountered so far.

  • Store the count difference in a hashmap with the index as the key.

  • If the same count difference is encountered again, the subarray between the two indices has equal 0s and 1s.

  • Return the length of the longest subarray found.

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. Island Perimeter Calculation Problem

Given a binary grid representation of a map of an island, calculate the perimeter of the island. The grid uses '0' for water and '1' for land.

The grid has only one island, ...read more

Ans.

Calculate the perimeter of an island represented by a binary grid.

  • Iterate through the grid and count the perimeter based on land cells and their adjacent cells.

  • Each land cell contributes 4 units to the perimeter, subtract 2 units for each adjacent land cell.

  • Handle edge cases where land cells are at the boundaries of the grid.

  • Return the total perimeter for each test case.

Add your answer
right arrow
Q10. Can you explain the ACID properties and the rollback mechanism in DBMS?
Ans.

ACID properties ensure database transactions are processed reliably. Rollback mechanism undoes changes if transaction fails.

  • ACID properties: Atomicity, Consistency, Isolation, Durability

  • Atomicity ensures all operations in a transaction are completed successfully or none at all

  • Consistency ensures database remains in a valid state before and after transaction

  • Isolation ensures transactions are independent and do not interfere with each other

  • Durability ensures changes made by com...read more

Add your answer
right arrow
Q11. Given a problem statement and a piece of code, how would you find and correct the bug in the code?
Ans.

To find and correct a bug in code, analyze problem statement, review code, use debugging tools, and test different scenarios.

  • Understand the problem statement and expected output.

  • Review the code for syntax errors, logical errors, and potential bugs.

  • Use debugging tools like breakpoints, print statements, and IDE debuggers.

  • Test the code with different inputs to identify the bug.

  • Make necessary corrections based on the identified bug.

  • Re-test the code to ensure the bug is fixed.

Add your answer
right arrow

Q12. Design MakeMyTrip kind of application.

Ans.

MakeMyTrip is a travel booking application that allows users to book flights, hotels, and holiday packages.

  • Include features like flight/hotel search, booking, payment gateway integration, and user profiles.

  • Implement filters for search results, reviews/ratings for hotels, and notifications for booking updates.

  • Integrate maps for location tracking, weather forecasts, and customer support chatbot.

  • Offer discounts, loyalty programs, and referral bonuses to attract and retain custom...read more

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Tower Research Capital LLC Software Developer

based on 1 interviews
2 Interview rounds
Coding Test Round
Video Call Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

DE Shaw Logo
3.8
 • 76 Interview Questions
Adobe Logo
3.9
 • 67 Interview Questions
Lowe's Logo
4.1
 • 10 Interview Questions
View all
Recently Viewed
INTERVIEWS
Tower Research Capital LLC
No Interviews
INTERVIEWS
KPIT Technologies
No Interviews
INTERVIEWS
Zomato
10 top interview questions
SALARIES
Tower Research Capital LLC
SALARIES
Asit C Mehta Investment Interrmediates
INTERVIEWS
Zomato
No Interviews
CAMPUS PLACEMENT
VIT Business School, Vellore
INTERVIEWS
Zomato
No Interviews
INTERVIEWS
Salesforce
No Interviews
SALARIES
Tower Research Capital LLC
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter