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 was interviewed 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. Backtracking
    1. Instead of checking all the places on the chessboard, we can use backtracking and place queen row-wise or column-wise.
    2. Suppose we place queens row-wise, and we start with the very first row. Place the queen and move to the next row until either there is a solution or there are no viable cells left.
    3. As we backtrack, check to place the queen in the different columns of the same row.
    4. When we can place a queen at ...
  • Answered Anonymously
  • 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. Brute Force
    • Initialize a list to store our results.
    • For each element in the array 'ARR[i]', check if ('ARR[i]' + ‘ARR[j]’), equals to given sum or not, where ‘i’ < ‘j’ < ‘N’.
    • If the condition matches, add the pair('ARR[i]', ‘ARR[j]’) to the list. Sort the list of pairs as per the given output format and return this list.
    Space Complexity: O(1)Explanation:

    O(1).

     

    Constant extra space is required.

    Time Complexity: O...
  • Answered Anonymously
  • 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. Space Complexity: O(1)Explanation: Time Complexity: O(1)Explanation:
  • Answered Anonymously
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

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - Coding Test 

Java Coding Test dsa program and all that

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

I applied via Referral and was interviewed before Dec 2023. There was 1 interview round.

Round 1 - One-on-one 

(5 Questions)

  • Q1. Oops concept, explain alll
  • Q2. Database related questions
  • Q3. Sql queries - dml queries
  • Q4. Trigger and type of triggers
  • Q5. Function vs storeprocessor
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
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 - Aptitude Test 

Simple and basic and questions from time and distance and also some blood relation problem.

Round 3 - Coding Test 

Easy to Medium and some medium level questions from string and array

Interview Preparation Tips

Interview preparation tips for other job seekers - Easy to crack and belive in yourself, you will be selected very easily just be confident.

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.5k Interviews
Infosys Interview Questions
3.6
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.9k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
Mphasis Interview Questions
3.4
 • 810 Interviews
Synechron Interview Questions
3.6
 • 362 Interviews
View all
Senior Consultant
698 salaries
unlock blur

₹11 L/yr - ₹37 L/yr

Application Developer
648 salaries
unlock blur

₹6.8 L/yr - ₹22 L/yr

Lead Consultant
243 salaries
unlock blur

₹23 L/yr - ₹65 L/yr

Consultant
151 salaries
unlock blur

₹8 L/yr - ₹21.8 L/yr

Software Developer
100 salaries
unlock blur

₹6 L/yr - ₹19 L/yr

Explore more salaries
Compare ThoughtWorks with

TCS

3.7
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

HCLTech

3.5
Compare
Did you find this page helpful?
Yes No
write
Share an Interview