Thought Works interview experience Real time questions & tips from candidates to crack your interview

Application Developer

Thought Works
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 Months
Topics: Arrays,Strings,Graphs,Stack, Queue, OOPS, DP
Tip
Tip

Tip 1 - Practice Atleast 250 Questions
Tip 2 - Do atleast 2 projects

Application process
Where: Campus
Eligibility: 7GPA
Resume Tip
Resume tip

Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 Minutes
Interview date8 Jan 2021
Coding problem3

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

1. Subarray With Given Sum

Moderate
15m average time
85% success
0/80
Asked in companies
Thought WorksAdobeInfo Edge India (Naukri.com)

Given an array ARR of N integers and an integer S. The task is to find whether there exists a subarray(positive length) of the given array such that the sum of elements of the subarray equals to S or not. If any subarray is found, return the start and end index (0 based index) of the subarray. Otherwise, consider both the START and END indexes as -1.

Note:

If two or more such subarrays exist, return any subarray.

For Example: If the given array is [1,2,3,4] and the value of S is equal to 7. Then there are two possible subarrays having sums equal to S are [1,2,3] and [3,4].

Problem approach

consider all subarrays one by one and check the sum of every subarray. Following program implements the simple solution. Run two loops: the outer loop picks a starting point I and the inner loop tries all subarrays starting from i.

Try solving now
Easy
30m average time
80% success
0/40
Asked in companies
AdobeOlaWalmart

You are given an input string 'S'. Your task is to find and return all possible permutations of the input string.

Note:
1. The input string may contain the same characters, so there will also be the same permutations.

2. The order of permutation does not matter.
Problem approach

Used recursion (backtracking)

Try solving now

3. Maximum in Subarrays of length K

Easy
27m average time
0/40
Asked in companies
AmazonThought WorksIBM

Given an array of integers of size N and a number K, print the maximum value of each subarray of length K in the array

Problem approach

Create a nested loop, the outer loop from starting index to n - k th elements. The inner loop will run for k iterations.
Create a variable to store the maximum of k elements traversed by the inner loop.
Find the maximum of k elements traversed by the inner loop.
Print the maximum element in every iteration of outer loop

Try solving now
02
Round
Easy
Face to Face
Duration30 Minutes
Interview date22 Jan 2021
Coding problem1

ThoughtWorks Developer allows you to demonstrate hands-on coding, design, OOP, and solution skills on the code which you have submitted.

1. System Design Question

“Rent a Ride” As a customer to Rent a Ride you book a cab. We charge you as per the distance covered. We charge 8rs/km. The moment you click the button to RIDE, we search for the nearby drivers who will accept your ride. Suppose there are 15 drivers near your location, then we send the request to the first driver who is closest to you, then the second, and so on. There are a few conditions though, based on which we can not send the request to the nearby driver.

Problem approach

Tip 1 : Used OOPS and write clear code
 

03
Round
Easy
HR Round
Duration30 Minutes
Interview date31 Jan 2021
Coding problem1

1. Basic HR questions

What salary do you expect? 

When can you join? 

Are you willing to relocate?

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
Application Developer
4 rounds | 7 problems
Interviewed by Thought Works
1243 views
1 comments
0 upvotes
company logo
Application Developer
5 rounds | 7 problems
Interviewed by Thought Works
1036 views
0 comments
0 upvotes
company logo
Application Developer
5 rounds | 8 problems
Interviewed by Thought Works
1435 views
0 comments
0 upvotes
company logo
Application Developer
3 rounds | 5 problems
Interviewed by Thought Works
1331 views
0 comments
0 upvotes