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
2w
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 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
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Assignment 

Mine sweeper logic for a box click

Round 2 - One-on-one 

(1 Question)

  • Q1. JavaScript objects
Round 3 - One-on-one 

(1 Question)

  • Q1. Delete element from linked list
  • Ans. 

    To delete an element from a linked list, update the pointers of the previous node to skip the node to be deleted.

    • Traverse the linked list to find the node to be deleted

    • Update the 'next' pointer of the previous node to skip the node to be deleted

    • Free the memory allocated to the node to be deleted

  • Answered by AI
Round 4 - HR 

(1 Question)

  • Q1. Expected salary
  • Ans. 

    I expect a competitive salary that reflects my skills, experience, and the industry standards for a Senior Software Engineer.

    • Research industry standards: For example, Glassdoor or Payscale can provide insights into average salaries for similar roles.

    • Consider my experience: With over 5 years in software development and expertise in multiple programming languages, I bring significant value.

    • Location matters: Salaries can ...

  • Answered by AI

Skills evaluated in this interview

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

I applied via Campus Placement and was interviewed before Nov 2020. There were 5 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Asked question based on Profile

Interview Preparation Tips

Interview preparation tips for other job seekers - I joined as an fresher so they asked me questions based on my profile. I have asked questions based on Basic Java and SQL

Interview Questionnaire 

7 Questions

  • Q1. Tell me about yourself?
  • Ans. 

    I am a software developer with experience in Java and Python.

    • I have a Bachelor's degree in Computer Science.

    • I have worked on various projects involving web development and data analysis.

    • I am proficient in Java and Python programming languages.

    • I am a quick learner and enjoy working in a team environment.

  • Answered by AI
  • 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
  • Ans. 

    I am a software developer with experience in Java and Python. I am passionate about coding and always eager to learn new technologies.

    • Experienced in Java and Python

    • Passionate about coding

    • Eager to learn new technologies

  • Answered by AI
  • 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.
Are these interview questions helpful?

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

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

Interview Questionnaire 

1 Question

  • Q1. Basics Of JS

Tell us how to improve this page.

Interview Questions from Similar Companies

EPAM Systems Interview Questions
3.7
 • 569 Interviews
Synechron Interview Questions
3.5
 • 378 Interviews
Movate Interview Questions
3.3
 • 271 Interviews
SS&C TECHNOLOGIES Interview Questions
3.3
 • 184 Interviews
Globant Interview Questions
3.7
 • 183 Interviews
Luxoft Interview Questions
3.7
 • 128 Interviews
TEKsystems Interview Questions
3.3
 • 124 Interviews
View all
Senior Consultant
958 salaries
unlock blur

₹18.2 L/yr - ₹35 L/yr

Application Developer
667 salaries
unlock blur

₹10 L/yr - ₹17.8 L/yr

Lead Consultant
300 salaries
unlock blur

₹31.8 L/yr - ₹55 L/yr

Consultant
297 salaries
unlock blur

₹12 L/yr - ₹20.8 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