Thoughtworks interview questions

161 questions from 20 candidate reports · 2015 to 2024

Online test → Technical → Technical → HR·74% entry level

CS fundamentals

Showing 30 of 88 reported in this area

Implement the Snake and Ladder game
asked oncemediumPractice this →
Design a database schema for a bank.
asked oncemediumPractice this →
Derive the time complexity of Quick Sort.
asked oncemediumPractice this →
Explain the internal working of a HashMap.
asked oncemediumPractice this →
How will you balance a Binary Search Tree?
asked oncemediumPractice this →
Explain how the Java Garbage Collector works.
asked oncemediumPractice this →
Explain OOP concepts used in the implementation
asked oncemediumPractice this →
Explain DBMS basics and write common SQL queries
asked oncemediumPractice this →
Explain the internal working of HashMap in depth.
asked oncemediumPractice this →
Draw a class diagram for a given problem scenario.
asked oncemediumPractice this →
Explain basics of Computer Networking and Operating Systems
asked oncemediumPractice this →
Explain SOLID design principles and how they apply to the code
asked oncemediumPractice this →
How does Java provide synchronized access to shared resources?
asked oncemediumPractice this →
Write nested and complex SQL queries on a given database schema
asked oncemediumPractice this →
Normalize the given database tables to appropriate normal forms.
asked oncemediumPractice this →
Answer conceptual questions related to cryptography fundamentals.
asked oncemediumPractice this →
Design a database schema for a given application and normalize it
asked oncemediumPractice this →
Explain core Java fundamentals and the Java Collections Framework.
asked oncemediumPractice this →
Optimize the given codebase for better performance and readability
asked oncemediumPractice this →
What is DNS lookup, what is a Load Balancer, and how does a server work?
asked oncemediumPractice this →
Design the database schema and write SQL queries for a given requirement.
asked oncemediumPractice this →
What are SOLID principles and how do they help in writing clean, modular code?
asked oncemediumPractice this →
Explain Java's multithreading mechanism including shared resources and monitors.
asked oncemediumPractice this →
Explain the difference between Segmentation and Paging, and what is a Page Fault.
asked oncemediumPractice this →
How do you list running processes, get a process ID, and kill a process in Linux?
asked oncemediumPractice this →
Why is returning a Map from an API endpoint considered a bad practice in many cases?
asked oncemediumPractice this →
How would you construct a SQL query involving joins between multiple tables using JPA?
asked oncemediumPractice this →
Explain commonly used design patterns and when you would use them in application development.
asked oncemediumPractice this →
Given the schema of 4–5 database tables, write MySQL queries to retrieve required information.
asked oncemediumPractice this →
How can a disk with concentric circular tracks and sectors be represented using data structures?
asked oncemediumPractice this →

DSA

Showing 15 of 63 reported in this area

Check for duplicate elements in a binary tree.
asked oncemediumPractice this →
Find the minimum sum subarray in a given array
asked oncemediumPractice this →
How do you delete the nth node from a linked list?
asked oncemediumPractice this →
Check whether a binary tree is a complete binary tree
asked oncemediumPractice this →
Explain fundamental data structures and their use cases
asked oncemediumPractice this →
How do you delete the second last node in a singly linked list?
asked oncemediumPractice this →
Explain tree traversals and boundary traversal of a binary tree.
asked oncemediumPractice this →
Search for an element in a sorted rotated array in O(log n) time.
asked oncemediumPractice this →
Design a data structure that can return a peak element in O(1) time.
asked oncemediumPractice this →
Given an encoded string like '3(ab)4(cd)', expand it to 'abababcdcdcdcd'.
asked oncemediumPractice this →
Explain Merge Sort, write its code, and explain the approach of Quick Sort.
asked oncemediumPractice this →
Given n numbers a1, a2, a3, ..., an, find the pair-wise XOR of the numbers.
asked oncemediumPractice this →
Given a city graph, how would you find all non-vegetarian restaurants in Siliguri?
asked oncemediumPractice this →
Given an array, reorder it so that elements are arranged in alternating peaks and valleys.
asked oncemediumPractice this →
Write a program to find the different ways to get a given sum from the elements of an array.
asked oncemediumPractice this →

System design

Showing 8 of 19 reported in this area

Design a movie recommendation application.
asked oncemediumPractice this →
Design a file system for an operating system.
asked oncemediumPractice this →
How is a friend's list maintained in Facebook?
asked oncemediumPractice this →
Design a database schema for a system like Netflix.
asked oncemediumPractice this →
Design and implement a card game using object-oriented principles
asked oncemediumPractice this →
Design an iPod inventory management system to calculate minimum cost
asked oncemediumPractice this →
Design a Tree data structure using object-oriented programming principles
asked oncemediumPractice this →
Mars Rover Problem: Design a system to move a rover on a grid based on commands and directions
asked oncemediumPractice this →

Behavioural

Showing 3 of 12 reported in this area

Describe a situation where you felt significant pressure at work and explain how you handled it.
asked oncemediumPractice this →
How would you handle a leadership situation where you need to make a decision in a complex or ambiguous scenario?
asked oncemediumPractice this →
What are your views on equality versus equity, and how do you see the impact of the caste reservation system in India?
asked oncemediumPractice this →

Aptitude

Showing 2 of 3 reported in this area

Find the next term or missing term in a given number series.
asked onceeasyPractice this →
Solve logical reasoning questions based on flowcharts to determine correct outputs
asked onceeasyPractice this →

Puzzles

Showing 2 of 3 reported in this area

Solve the 25 horses puzzle to find the fastest horses with minimum races.
asked oncehardPractice this →
Solve simple mathematical riddles based on basic logic.
asked onceeasyPractice this →

Showing 60 of 161 questions. Ranked by how often the same question came back across reports.

Practise a Thoughtworks-style interview

A spoken interview built from these questions, scored when you finish; the report is yours.

Start practising

Common questions

What questions does Thoughtworks ask?

Candidate interview reports most often cover CS fundamentals (47%) and DSA (34%).

How many rounds does Thoughtworks interview have?

Candidate interview reports show an average of 4.1 rounds per experience, with a typical sequence of Online test → Technical → Technical → HR. Individual interview paths can vary.

Is the Thoughtworks interview hard?

Among questions with a reported difficulty, the mix is easy 38%, medium 57%, hard 5%.

Keep reading