Upload Button Icon Add office photos

ThoughtWorks

Compare button icon Compare button icon Compare

Filter interviews by

ThoughtWorks Software Engineer Interview Questions and Answers

Updated 17 Jan 2025

11 Interview questions

A Software Engineer was asked 5mo ago
Q. Explain cloud concepts.
Ans. 

Cloud concepts refer to the delivery of computing services over the internet, including storage, databases, networking, and more.

  • Cloud computing allows users to access and use resources on-demand over the internet.

  • It provides scalability, flexibility, and cost-efficiency compared to traditional on-premises solutions.

  • Examples include Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform.

A Software Engineer was asked
Q. Describe a real-time situation and how you would code it using OOP concepts.
Ans. 

Implement a library management system using OOP concepts like classes, inheritance, and polymorphism.

  • Create a base class 'Book' with attributes like title, author, and ISBN.

  • Derive classes 'Fiction' and 'NonFiction' from 'Book' to represent different genres.

  • Implement a method 'displayInfo()' in each class to show book details.

  • Use a 'Library' class to manage a collection of books, allowing adding and removing books.

  • ...

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Four people need to cross a bridge at night with only one torch t ... read more
asked in Capgemini
Q2. In a dark room, there is a box of 18 white and 5 black gloves. Yo ... read more
Q3. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q4. Puzzle : 100 people are standing in a circle .each one is allowed ... read more
asked in TCS
Q5. Find the Duplicate Number Problem Statement Given an integer arra ... read more
A Software Engineer was asked
Q. Write a program to print the HCF of numbers as output.
Ans. 

Program to print HCF of numbers as output

  • Take input of two numbers from user

  • Find the smaller number between the two

  • Run a loop from 1 to the smaller number

  • Check if both numbers are divisible by the current loop variable

  • If yes, update the HCF variable

  • Print the HCF as output

A Software Engineer was asked
Q. Which programming language are you proficient in?
Ans. 

I am proficient in Java and Python.

  • Strong understanding of object-oriented programming concepts

  • Experience with Java frameworks such as Spring and Hibernate

  • Proficient in Python libraries such as NumPy and Pandas

A Software Engineer was asked
Q. Tell me about OOPS - Explain modular code
Ans. 

OOPS is a programming paradigm that uses objects to represent real-world entities. Modular code is code that is divided into separate, independent parts.

  • OOPS stands for Object-Oriented Programming System

  • It focuses on creating reusable code and reducing complexity

  • Modular code is easier to maintain, test, and debug

  • It involves breaking down code into smaller, self-contained modules

  • Each module performs a specific task...

A Software Engineer was asked
Q. What do you think about affirmative action
Ans. 

Affirmative action is a complex issue with both pros and cons.

  • Affirmative action can help promote diversity and equal opportunities for underrepresented groups.

  • However, it can also lead to reverse discrimination and undermine merit-based hiring practices.

  • Ultimately, the effectiveness of affirmative action depends on how it is implemented and monitored.

  • For example, some companies may set quotas for hiring certain g...

A Software Engineer was asked
Q. 

Remove Character from String Problem Statement

Given a string str and a character 'X', develop a function to eliminate all instances of 'X' from str and return the resulting string.

Input:

The first line...
Ans. 

Develop a function to remove all instances of a given character from a string.

  • Iterate through the string and build a new string excluding the specified character.

  • Use a StringBuilder or similar data structure for efficient string manipulation.

  • Handle edge cases such as empty string or character not found in the input string.

Are these interview questions helpful?
A Software Engineer was asked
Q. 

Complete String Problem Statement

Given an array of strings A of size N, determine the longest complete string. A string is deemed complete if every prefix of the string also appears in the array. If multi...

Ans. 

Find the longest complete string in an array of strings, where every prefix of the string also appears in the array.

  • Iterate through each string in the array and check if all its prefixes exist in the array.

  • Keep track of the longest complete string found so far, and return the lexicographically smallest one if multiple exist.

  • If no complete string is found, return 'None'.

A Software Engineer was asked
Q. 

Boundary Sum Problem Statement

Given a Binary Tree with 'N' nodes, compute and return the sum of all its boundary nodes. The boundary nodes include the root node, leftmost external nodes, rightmost externa...

Ans. 

The Boundary Sum Problem involves calculating the sum of boundary nodes in a binary tree.

  • Traverse the tree in a specific order to identify the boundary nodes (root, leftmost, rightmost, and leaves)

  • Keep track of the sum of these boundary nodes as you traverse the tree

  • Handle cases where nodes have no children (-1)

A Software Engineer was asked
Q. 

Segregate Odd-Even Problem Statement

In a wedding ceremony at NinjaLand, attendees are divided into two groups: bride’s side and groom’s side. Attendees from the bride’s side hold odd numbers, while those ...

Ans. 

Rearrange attendees from bride's side and groom's side while maintaining original order within each group.

  • Iterate through the linked list and separate odd and even numbers into two separate lists.

  • Merge the two lists while maintaining the original order within each group.

  • Output the rearranged linked list with bride's side attendees followed by groom's side attendees.

ThoughtWorks Software Engineer Interview Experiences

7 interviews found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Job Portal and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Basics of Java OOPS
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I appeared for an interview in Dec 2024.

Round 1 - HR 

(2 Questions)

  • Q1. General questions about work experience
  • Q2. Explain cloud concepts
Round 2 - Coding Test 

Given a project and add a new feature with test cases

Interview Preparation Tips

Interview preparation tips for other job seekers - not to hard, focus one write clean codes
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Nextwave and was interviewed in Dec 2023. There were 3 interview rounds.

Round 1 - Coding Test 

I got the opportunity through Nextwave. In the coding test I’m supposed to solve few aptitude questions and around 5-6 coding questions. Out of them 2 are of easy level ,2 are medium and 2 are of hard level.
I solved 2 easy, 1 medium and 1 hard problem.

Round 2 - Technical 

(2 Questions)

  • Q1. Self Introduction , Resume based questions related to project and strengths
  • Q2. Programming questions like pattern printing, palindrome without using reverse method, GCD
Round 3 - Technical 

(2 Questions)

  • Q1. Started with reasoning and aptitude questions based on pattern analysis, number system, profit and loss.
  • Q2. Programming questions from leetcode 1.Spiral matrix 2.Pascal’s triangle 3.subsequences 4.problem based on DFS

Interview Preparation Tips

Topics to prepare for ThoughtWorks Software Engineer interview:
  • Data Structures
  • Problem Solving
  • Any programming language
  • SQL
Interview preparation tips for other job seekers - Need to have a strong problem solving skills and continuous practising of the programs in leet code of easy and medium level increase the chances for cracking the interview.
Make sure that your project code is available with you at the time of interview and everything you place in the resume must have the supported information with you.

I applied via Campus Placement and was interviewed in Feb 2022. There were 4 interview rounds.

Round 1 - Coding Test 

OOP mcq, 3 coding questions on array and string (easy and medium level),pseudo code etc

Round 2 - Code pairing round 

(1 Question)

  • Q1. They give one real time situation and you have to code it using oops concepts
  • Ans. 

    Implement a library management system using OOP concepts like classes, inheritance, and polymorphism.

    • Create a base class 'Book' with attributes like title, author, and ISBN.

    • Derive classes 'Fiction' and 'NonFiction' from 'Book' to represent different genres.

    • Implement a method 'displayInfo()' in each class to show book details.

    • Use a 'Library' class to manage a collection of books, allowing adding and removing books.

    • Demon...

  • Answered by AI
Round 3 - Technical 

(1 Question)

  • Q1. Questions on OOPS, PROJECTS, DATABASES , OS , AND DBMS
Round 4 - HR 

(1 Question)

  • Q1. BASIC HR QUESTIONS LIKE WHY DO U WANT TO JOIN THOUGHTWORKS, DO YOU HAVE ANY FUTURE STUDY GOAL ETC

Interview Preparation Tips

Interview preparation tips for other job seekers - DO OOPS
BE HONEST
ANY HOW IMPRESS INTERVIEWER IN CODE PAIRING ROUND
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Recruitment Consulltant and was interviewed before Mar 2022. There were 6 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - HR 

(1 Question)

  • Q1. Tell me about OOPS - Explain modular code
  • Ans. 

    OOPS is a programming paradigm that uses objects to represent real-world entities. Modular code is code that is divided into separate, independent parts.

    • OOPS stands for Object-Oriented Programming System

    • It focuses on creating reusable code and reducing complexity

    • Modular code is easier to maintain, test, and debug

    • It involves breaking down code into smaller, self-contained modules

    • Each module performs a specific task and ...

  • Answered by AI
Round 3 - Coding Test 

It was 2 medium Leetcode questions. I did 1 well and the other one with an okayish approach.

Round 4 - Technical 

(2 Questions)

  • Q1. Tell me about a challenging project
  • Q2. A simple stacks based question
Round 5 - Technical 

(1 Question)

  • Q1. Tell which tech stack you’d use for which case
  • Ans. 

    For web development, I'd use MERN stack. For mobile development, I'd use React Native. For data analysis, I'd use Python stack.

    • MERN stack (MongoDB, Express.js, React.js, Node.js) for web development

    • React Native for mobile development

    • Python stack (NumPy, Pandas, Matplotlib) for data analysis

    • Consider the project requirements and scalability before choosing a tech stack

  • Answered by AI
Round 6 - Behavioral interview 

(1 Question)

  • Q1. What do you think about affirmative action
  • Ans. 

    Affirmative action is a complex issue with both pros and cons.

    • Affirmative action can help promote diversity and equal opportunities for underrepresented groups.

    • However, it can also lead to reverse discrimination and undermine merit-based hiring practices.

    • Ultimately, the effectiveness of affirmative action depends on how it is implemented and monitored.

    • For example, some companies may set quotas for hiring certain groups...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare your previous job experiences well, have a marquee project to talk about.

Skills evaluated in this interview

I appeared for an interview before May 2021.

Round 1 - Coding Test 

(5 Questions)

Round duration - 180 Minutes
Round difficulty - Easy

it was an coding round. i was not able to solve questions

  • Q1. 

    Anagram Pairs Verification Problem

    Your task is to determine if two given strings are anagrams of each other. Two strings are considered anagrams if you can rearrange the letters of one string to form the...

  • Ans. 

    Determine if two strings are anagrams of each other by checking if they contain the same characters.

    • Create character frequency maps for both strings and compare them.

    • Sort both strings and compare if they are equal.

    • Use a hash table to store character counts and check if they are the same for both strings.

  • Answered by AI
  • Q2. 

    Remove Character from String Problem Statement

    Given a string str and a character 'X', develop a function to eliminate all instances of 'X' from str and return the resulting string.

    Input:

    The first lin...
  • Ans. 

    Develop a function to remove all instances of a given character from a string.

    • Iterate through the string and build a new string excluding the specified character.

    • Use a StringBuilder or similar data structure for efficient string manipulation.

    • Handle edge cases such as empty string or character not found in the input string.

  • Answered by AI
  • Q3. 

    Complete String Problem Statement

    Given an array of strings A of size N, determine the longest complete string. A string is deemed complete if every prefix of the string also appears in the array. If mult...

  • Ans. 

    Find the longest complete string in an array of strings, where every prefix of the string also appears in the array.

    • Iterate through each string in the array and check if all its prefixes exist in the array.

    • Keep track of the longest complete string found so far, and return the lexicographically smallest one if multiple exist.

    • If no complete string is found, return 'None'.

  • Answered by AI
  • Q4. 

    Segregate Odd-Even Problem Statement

    In a wedding ceremony at NinjaLand, attendees are divided into two groups: bride’s side and groom’s side. Attendees from the bride’s side hold odd numbers, while those...

  • Ans. 

    Rearrange attendees from bride's side and groom's side while maintaining original order within each group.

    • Iterate through the linked list and separate odd and even numbers into two separate lists.

    • Merge the two lists while maintaining the original order within each group.

    • Output the rearranged linked list with bride's side attendees followed by groom's side attendees.

  • Answered by AI
  • Q5. 

    Boundary Sum Problem Statement

    Given a Binary Tree with 'N' nodes, compute and return the sum of all its boundary nodes. The boundary nodes include the root node, leftmost external nodes, rightmost extern...

  • Ans. 

    The Boundary Sum Problem involves calculating the sum of boundary nodes in a binary tree.

    • Traverse the tree in a specific order to identify the boundary nodes (root, leftmost, rightmost, and leaves)

    • Keep track of the sum of these boundary nodes as you traverse the tree

    • Handle cases where nodes have no children (-1)

  • Answered by AI

Interview Preparation Tips

Eligibility criteria7 CGPAThought Works interview preparation:Topics to prepare for the interview - Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic ProgrammingTime required to prepare for the interview - 3 MonthsInterview preparation tips for other job seekers

Tip 1 : Stay focused
Tip 2 : Practice coding questions.
Tip 3 : View previous interviews of the companies

Application resume tips for other job seekers

Tip 1 : Don't lie on resume
Tip 2 : Just write in format that is catchy

Final outcome of the interviewRejected

Skills evaluated in this interview

I applied via Walk-in and was interviewed before Jun 2021. There were 3 interview rounds.

Round 1 - Aptitude Test 

Quantitative ability and logical ability

Round 2 - Technical 

(2 Questions)

  • Q1. In which programming language you are good at?
  • Ans. 

    I am proficient in Java and Python.

    • Strong understanding of object-oriented programming concepts

    • Experience with Java frameworks such as Spring and Hibernate

    • Proficient in Python libraries such as NumPy and Pandas

  • Answered by AI
  • Q2. Write a program to print HCF of numbers as output
  • Ans. 

    Program to print HCF of numbers as output

    • Take input of two numbers from user

    • Find the smaller number between the two

    • Run a loop from 1 to the smaller number

    • Check if both numbers are divisible by the current loop variable

    • If yes, update the HCF variable

    • Print the HCF as output

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Why should we hire you?

Interview Preparation Tips

Interview preparation tips for other job seekers - I attended interview for this company and they saw my capability and adaptability only.

Top trending discussions

View All
Interview Tips & Stories
1w
toobluntforu
·
works at
Cvent
Can speak English, can’t deliver in interviews
I feel like I can't speak fluently during interviews. I do know english well and use it daily to communicate, but the moment I'm in an interview, I just get stuck. since it's not my first language, I struggle to express what I actually feel. I know the answer in my head, but I just can’t deliver it properly at that moment. Please guide me
Got a question about ThoughtWorks?
Ask anonymously on communities.

Interview questions from similar companies

I appeared for an interview in Jun 2017.

Interview Questionnaire 

1 Question

  • Q1. Questions related to core java, advanced java, programs,

Interview Preparation Tips

Round: Technical + HR Interview
Experience: Previous work experience scenarios based questions

I applied via LinkedIn and was interviewed before Jun 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Basics Of JS

I applied via Naukri.com and was interviewed before Feb 2021. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(1 Question)

  • Q1. About technical what your role is

Interview Preparation Tips

Interview preparation tips for other job seekers - Nothing all good, but poor team management

ThoughtWorks Interview FAQs

How many rounds are there in ThoughtWorks Software Engineer interview?
ThoughtWorks interview process usually has 3-4 rounds. The most common rounds in the ThoughtWorks interview process are Technical, HR and Coding Test.
What are the top questions asked in ThoughtWorks Software Engineer interview?

Some of the top questions asked at the ThoughtWorks Software Engineer interview -

  1. Tell me about OOPS - Explain modular c...read more
  2. What do you think about affirmative act...read more
  3. Tell which tech stack you’d use for which c...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.2/5

based on 5 interview experiences

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 50%
2-4 weeks 50%
View more
ThoughtWorks Software Engineer Salary
based on 63 salaries
₹6.8 L/yr - ₹19 L/yr
56% more than the average Software Engineer Salary in India
View more details

ThoughtWorks Software Engineer Reviews and Ratings

based on 3 reviews

2.8/5

Rating in categories

3.2

Skill development

2.5

Work-life balance

1.9

Salary

1.9

Job security

3.2

Company culture

1.9

Promotions

2.5

Work satisfaction

Explore 3 Reviews and Ratings
Senior Consultant
951 salaries
unlock blur

₹17.9 L/yr - ₹33 L/yr

Application Developer
665 salaries
unlock blur

₹6.8 L/yr - ₹20 L/yr

Consultant
299 salaries
unlock blur

₹6.8 L/yr - ₹22 L/yr

Lead Consultant
296 salaries
unlock blur

₹23 L/yr - ₹65.5 L/yr

Software Developer
158 salaries
unlock blur

₹6.7 L/yr - ₹27.5 L/yr

Explore more salaries
Compare ThoughtWorks with

Synechron

3.5
Compare

Movate

3.3
Compare

Sopra Steria

3.8
Compare

NCR Corporation

3.7
Compare
write
Share an Interview