Upload Button Icon Add office photos

ThoughtWorks

Compare button icon Compare button icon Compare

Filter interviews by

ThoughtWorks SDE-2 Interview Questions and Answers

Updated 31 May 2022

ThoughtWorks SDE-2 Interview Experiences

1 interview found

SDE-2 Interview Questions & Answers

user image Anonymous

posted on 31 May 2022

I appeared for an interview in Feb 2022.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 Minutes
Round difficulty - Easy

In this round, there are a total of 16 questions and the time given was 90 mins.

3 Coding questions – Easy, Medium, and Hard.
13 MCQs based on outputs, Computer fundamentals, Aptitude.

  • Q1. 

    N Queens Problem Statement

    You are provided with an integer 'N'. For an 'N' x 'N' chessboard, determine how to position 'N' queens such that no queen can attack another queen on the chessboard.

    Explanati...

  • Ans. 

    The N Queens problem involves placing N queens on an N x N chessboard so that no two queens can attack each other.

    • Use backtracking to explore all possible configurations of queen placements.

    • Keep track of rows, columns, and diagonals to ensure no two queens are attacking each other.

    • Print all valid configurations of queen placements.

  • Answered by AI
  • Q2. 

    Pair Sum Problem Statement

    Given an integer array ARR of size N and an integer S, your goal is to return a list of all pairs of elements such that the sum of elements of each pair equals S.

    Example:

    Inp...
  • Ans. 

    Return pairs of elements in an array whose sum equals a given integer.

    • Iterate through the array and store elements in a hashmap.

    • For each element, check if the complement (S - current element) exists in the hashmap.

    • Return pairs that satisfy the condition, sorted as per the given rules.

  • Answered by AI
  • Q3. 

    Minimum Number of Platforms Needed Problem Statement

    You are given the arrival and departure times of N trains at a railway station for a particular day. Your task is to determine the minimum number of pl...

  • Ans. 

    Determine the minimum number of platforms needed at a railway station based on arrival and departure times of trains.

    • Sort the arrival and departure times in ascending order.

    • Use two pointers to keep track of overlapping schedules.

    • Increment platform count when a new train arrives before the previous one departs.

  • Answered by AI
Round 2 - Coding Test 

Round duration - 120 minutes
Round difficulty - Easy

This round is an interesting experience to brainstorm, problem-solve and pair alongside a ThoughtWorks Developer that allows you to demonstrate hands-on coding, design, OOP, and solution skills on the code which you have submitted.The problem statement will be shared with you 20 minutes before the start time of the interview

Interview Preparation Tips

Eligibility criteriaNAThought Works interview preparation:Topics to prepare for the interview - Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic ProgrammingTime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Prepare system design
Tip 2 : Practice coding questions
Tip 3 : Prepare and search previous interviews

Application resume tips for other job seekers

Tip 1 : Have atleast 3 great project
Tip 2 : Write only what you know and prepare well

Final outcome of the interviewRejected

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
1w (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about ThoughtWorks?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Naukri.com and was interviewed in May 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. OOPS Concepts, Interface, Sealed classes, SQL basic queries(remove duplicates, find nth highest salary, Using Dense_rank etc.,) MVC Architecture, routing in MVC, Javascript basics

SDE-2 Interview Questions Asked at Other Companies

asked in Walmart
Q1. Maximum Frequency Number Problem Statement Given an array of inte ... read more
Q2. Reverse String Operations Problem Statement You are provided with ... read more
asked in KhataBook
Q3. Alien Dictionary Problem Statement Ninja is mastering an unusual ... read more
asked in Atlassian
Q4. K Most Frequent Words Problem Statement Given an array of N non-e ... read more
asked in DP World
Q5. Count Ways To Reach The N-th Stair Problem Statement You are give ... read more

I applied via LinkedIn and was interviewed in Jul 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. I was asked lot of technical questions

Interview Preparation Tips

Interview preparation tips for other job seekers - I am happy with the interview

Interview Questionnaire 

7 Questions

  • Q1. Tell me about yourself?
  • Q2. Do you know anything about DBMS? Where is it used?
  • Ans. 

    DBMS stands for Database Management System. It is used to manage and organize data in a structured manner.

    • DBMS is used in various industries such as healthcare, finance, education, and more.

    • It helps in creating, modifying, and deleting data in a database.

    • DBMS provides security features to protect data from unauthorized access.

    • Examples of DBMS include MySQL, Oracle, Microsoft SQL Server, and PostgreSQL.

  • Answered by AI
  • Q3. Practical example of object
  • Ans. 

    An object is a self-contained entity that contains data and behavior.

    • Objects are instances of classes

    • They have attributes (data) and methods (behavior)

    • Objects can interact with each other through method calls

    • Example: A car object has attributes like color, make, and model, and methods like start and stop

  • Answered by AI
  • Q4. Practical implementation of sorting
  • Ans. 

    Sorting is the process of arranging data in a particular order.

    • Sorting can be done in ascending or descending order.

    • Common sorting algorithms include bubble sort, insertion sort, and quicksort.

    • Sorting can be done on various data types, including strings, numbers, and objects.

    • Sorting can be done using built-in functions in programming languages such as sort() in JavaScript.

    • Sorting can be optimized for performance by cho...

  • Answered by AI
  • Q5. Difference between C and C++
  • Ans. 

    C is a procedural programming language while C++ is an object-oriented programming language.

    • C++ supports classes and objects while C does not.

    • C++ has better support for polymorphism and inheritance than C.

    • C++ has a larger standard library than C.

    • C++ allows function overloading while C does not.

    • C++ supports exception handling while C does not.

  • Answered by AI
  • Q6. Tell me about yourself
  • Q7. Will your family allow you to move to Hyderabad
  • Ans. 

    Yes, my family is supportive of my career and relocation decisions.

    • My family understands the importance of career growth and is supportive of my decisions.

    • We have discussed the possibility of relocation and they are willing to make the necessary adjustments.

    • They trust my judgment and believe that this move will be beneficial for my career.

    • We have also considered the quality of life in Hyderabad and believe that it will...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: Level was pretty high in case of Quant. You not only need a lot of practice but also practice of some really good questions.
Other than quant all the other sections are easy and direct.
Duration: 60 minutes
Total Questions: 45

Round: Group Discussion
Experience: They give 10 mins to think about the topic and 20 mins for discussion. Main purpose is to check your communication skills so keep on discussing . Even if you can't think of any new point repeat your points
Duration: 20 minutes

Round: Technical Interview
Experience: There were many other questions other than this but what they were emphasizing was whether you have done any practical implementation of IT or the coding skills. Tell them about your projects and how you implemented the coding part.They are much interested in logic than syntax.
Since I'm from ECE these were the main things I talked about.

Round: HR Interview
Experience: It was much of an interactive session.They again asked about projects-nothing technical only some basic idea. Lasted hardly 10 mins.

Round: Other Interview
Experience: In this round they mainly explained the salary structure. This one too was of 10 mins.

General Tips: Even if you don't have excellent coding knowledge do appear for the company. They are not looking for same qualities in each candidate. You should be willing enough to learn.
Skills: Aptitude, Communication Skills, Basic Technical Knowledge-mainly emphasized on the implementation part.
College Name: NIT Bhopal
Motivation: The company dates back to 1983 with locations in almost every US state. It is the 43rd company in Fortune 100 US companies. You have options to switch within the departments. Other than this the compensation is 6lpa.

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. Interview round was good, they just ask me about the basics of testing and BA concepts.

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

Interview Questionnaire 

1 Question

  • Q1. Exam was conducted on programmes. 10 questions were asked
Are these interview questions helpful?

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

I applied via Approached by Company and was interviewed before Jul 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Basic programming questions

Round 2 - HR 

(1 Question)

  • Q1. Salary and self intro discussion

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare basic interview questions and self intro

Interview Questionnaire 

1 Question

  • Q1. Interview questions on .net technology

Tell us how to improve this page.

Interview Questions from Similar Companies

EPAM Systems Interview Questions
3.7
 • 572 Interviews
Synechron Interview Questions
3.5
 • 380 Interviews
Movate Interview Questions
3.3
 • 272 Interviews
SS&C TECHNOLOGIES Interview Questions
3.3
 • 185 Interviews
Globant Interview Questions
3.6
 • 184 Interviews
Luxoft Interview Questions
3.6
 • 128 Interviews
TEKsystems Interview Questions
3.3
 • 126 Interviews
View all
Senior Consultant
929 salaries
unlock blur

₹17.5 L/yr - ₹33 L/yr

Application Developer
670 salaries
unlock blur

₹10 L/yr - ₹17.8 L/yr

Lead Consultant
327 salaries
unlock blur

₹30.3 L/yr - ₹59.7 L/yr

Consultant
305 salaries
unlock blur

₹12 L/yr - ₹20.8 L/yr

Software Developer
164 salaries
unlock blur

₹11.4 L/yr - ₹20 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