ThoughtWorks Interview Questions — 8 DSA Problems
7 problems with full solutions in Python, Java, C++, JavaScript, Go, Rust.
Most frequently asked ThoughtWorks LeetCode questions for software engineering interviews.
- Number of Bit Changes to Make Two Integers Equal (EASY) — Bit Manipulation
- Maximum GCD-Sum of a Subarray (HARD) — Array, Math, Binary Search, Number Theory
- Maximize the Number of Partitions After Operations (HARD) — String, Dynamic Programming, Bit Manipulation, Bitmask
- Number of Subarrays That Match a Pattern II (HARD) — Array, Rolling Hash, String Matching, Hash Function
- Best Time to Buy and Sell Stock (EASY) — Array, Dynamic Programming
- Longest Substring Without Repeating Characters (MEDIUM) — Hash Table, String, Sliding Window
- Valid Parentheses (EASY) — String, Stack
- Longest Palindromic Substring (MEDIUM) — Two Pointers, String, Dynamic Programming
T
ThoughtWorks
8 questions tracked7 with solutions
Frequency scoreSorted highest → lowest frequency✓ Our Solution = we have a detailed walkthrough
Showing 8 of 8 questions
2HardMaximum GCD-Sum of a Subarray
ArrayMathBinary SearchNumber Theory
3StringDynamic ProgrammingBit ManipulationBitmask
4ArrayRolling HashString MatchingHash Function
6Hash TableStringSliding Window
8Two PointersStringDynamic Programming