0 day streak

Thoughtworks coding interview questions

Service and IT India

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
Linked List CycleSlow Fast Pointers Easy Linked List Microsoft, Apple, Nvidia +67 Solve
Linked List Cycle IISlow Fast Pointers Medium Linked List Microsoft, Airbnb, Autodesk +21 Solve
Sudoku Solver2D Matrix Backtracking Hard Recursion & Backtracking Microsoft, DoorDash, Snap +12 Solve
Sort an ArrayMerge Sort Like Approach Medium Arrays & Hashing Apple, Confluent, Salesforce +27 Solve
Search in Rotated Sorted ArrayRotated Array Medium Binary Search Amazon, Microsoft, Apple +59 Solve
Find How Many Times Array is RotatedRotated Array Easy Binary Search Angel One Solve
Decode StringStack Basics Medium Stack Google, Amazon, Microsoft +31 Solve
Delete Node in a Linked ListMiscellaneous Medium Linked List ServiceNow, JPMorgan Chase, PayPal +11 Solve
PermutationsPermutations Medium Recursion & Backtracking Google, Apple, LinkedIn +23 Solve
Minimum PlatformsLine Sweep Medium Intervals Commvault, Paytm, InMobi +2 Solve
Remove Nth Node From End of ListFront Back Pointer Medium Linked List Meta, Apple, eBay +22 Solve
Intersection of Two Linked ListsMiscellaneous Easy Linked List LinkedIn, Airbnb, Akamai +26 Solve
Reorder ListSlow Fast Pointers Medium Linked List Meta, Snap, Expedia Group +4 Solve
Middle of the Linked ListSlow Fast Pointers Easy Linked List Apple, Nvidia, X (Twitter) +29 Solve
Construct Binary Tree from Preorder and Inorder TraversalTree Serialization / Deserialization Medium Trees & BST Microsoft, TikTok (ByteDance), eBay +9 Solve
Diameter of Binary TreePostorder + Multiple Return Values Easy Trees & BST Google, Meta, DoorDash +22 Solve
Maximum Depth of Binary TreeRecursion Easy Trees & BST LinkedIn, Spotify, Tesla +19 Solve
Boundary of Binary TreeViews Medium Trees & BST Uber, Snowflake, Nutanix +10 Solve
Find Peak ElementUnique 1-D Binary Search Medium Binary Search Meta, Netflix, Uber +26 Solve
Find Words That Can Be Formed by CharactersHashing Easy Arrays & Hashing Datadog, Indeed, PayPal +1 Solve
Tower of HanoiBasic Recursion Medium Recursion & Backtracking HP Inc., Societe Generale, MakeMyTrip +1 Solve
Super Egg Drop2D DP Hard Dynamic Programming Goldman Sachs Solve
Rat in a Maze2D Matrix Backtracking Medium Recursion & Backtracking Citi, Lenskart, MAQ Software +1 Solve
Also reported, being added to AlgoRung (14)

Number of Bit Changes to Make Two Integers Equal · Find Closest Number to Zero · Reverse a Doubly Linked List · Previous Greater Element · Wiggle Sort · Next Smallest Palindrome · Maximum GCD-Sum of a Subarray · Number of Subarrays That Match a Pattern II · Implement Stack using Linked List · Perfect Sum Problem · Reverse Consonants Keeping Vowels in Place · Remove Characters of One String From Another · Caesar Cipher · The Dining Philosophers

Questions people ask

What coding questions does Thoughtworks ask most?

Two Sum, Linked List Cycle, Linked List Cycle II, Sudoku Solver, Sort an Array, Search in Rotated Sorted Array, Find How Many Times Array is Rotated, Decode String.

Which topics come up in Thoughtworks coding rounds?

linked list, arrays, strings, trees, binary search, backtracking.

How hard are Thoughtworks coding questions?

Of the reported questions, 8 are easy, 14 medium and 2 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.