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
Journey
I was admitted to DTU College in the computer science stream. I was advised by my seniors to practice DSA from the very start of B.Tech, and I did not take that seriously. Honestly speaking, I regretted not following their advice, and in the third year, I started coding and had to increase my practice hours because I started late.
Application story
I applied for the post through the campus drive. After applying, I practiced hard for it, and the hard work paid off.
Why selected/rejected for the role?
I was on point with my coding solutions to the questions asked in the interviews. Although I could not provide optimal solutions, I gave correct explanations to some theory questions asked.
Preparation
Duration: 3 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Even if you are stuck on the problem, just give it a try. The interviewer will definitely help you for sure. 

Tip 2: Prepare Data Structures and Algorithms well. They mostly check our problem-solving ability to find solutions to real-world problems. 

Tip 3: Be confident enough; don't be nervous. Maintain at least two projects on your resume.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Mention at least 2 projects.
Tip 2 : Mention your skills in which you are perfect.
Tip 3 : It should not be too long or too short.

Interview rounds

01
Round
Easy
Video Call
Duration90 minutes
Interview date27 Jun 2023
Coding problem2

1. 3Sum

Moderate
15m average time
85% success
0/80
Asked in companies
IntuitSamsungGrofers

You are given an array/list ARR consisting of N integers. Your task is to find all the distinct triplets present in the array which adds up to a given number K.

An array is said to have a triplet {ARR[i], ARR[j], ARR[k]} with sum = 'K' if there exists three indices i, j and k such that i!=j, j!=k and i!=j and ARR[i] + ARR[j] + ARR[k] = 'K'.

Note:
1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
Try solving now

2. Reverse Words In A String

Easy
10m average time
90% success
0/40
Asked in companies
UnacademyIBMOptum

You are given a string 'str' of length 'N'.


Your task is to reverse the original string word by word.


There can be multiple spaces between two words and there can be leading or trailing spaces but in the output reversed string you need to put a single space between two words, and your reversed string should not contain leading or trailing spaces.


Example :
If the given input string is "Welcome to Coding Ninjas", then you should return "Ninjas Coding to Welcome" as the reversed string has only a single space between two words and there is no leading or trailing space.
Try solving now
02
Round
Easy
Video Call
Duration90 minutes
Interview date27 Jun 2023
Coding problem1

1. System Design Question

Design a SCALABLE music streaming platform like Wynk and Amazon Prime. I was expected to write the DB design, memory calculations, required APIs, and required microservices. Later, I was asked to find the loopholes in the same design.

Problem approach

Tip 1 : Learn System Design.
Tip 2 : Learn how to use the Database effectively wherever needed SQL/NoSQL.
Tip 3 : Learn the Scaling and Security of APIs.

03
Round
Easy
Video Call
Duration60 minutes
Interview date27 Jun 2023
Coding problem2

1. Merge Sort

Easy
15m average time
85% success
0/40
Asked in companies
Media.netHewlett Packard EnterpriseIBM

Given a sequence of numbers ‘ARR’. Your task is to return a sorted sequence of ‘ARR’ in non-descending order with help of the merge sort algorithm.

Example :

Merge Sort Algorithm -

Merge sort is a Divide and Conquer based Algorithm. It divides the input array into two-parts, until the size of the input array is not ‘1’. In the return part, it will merge two sorted arrays a return a whole merged sorted array.

subsequence

The above illustrates shows how merge sort works.
Note :
It is compulsory to use the ‘Merge Sort’ algorithm.
Try solving now

2. N-th Node From The End

Easy
10m average time
90% success
0/40
Asked in companies
Thought WorksHikeAmazon

You are given a Singly Linked List of integers. You have to find the N-th node from end.

For Example
If the given list is (1 -> -2 -> 0 -> 4) and N=2:

example

Then the 2nd node from the end is 0.
Try solving now

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
Application Developer
4 rounds | 7 problems
Interviewed by Thought Works
1203 views
1 comments
0 upvotes
company logo
Application Developer
5 rounds | 7 problems
Interviewed by Thought Works
993 views
0 comments
0 upvotes
company logo
Application Developer
5 rounds | 8 problems
Interviewed by Thought Works
1387 views
0 comments
0 upvotes
company logo
Application Developer
3 rounds | 5 problems
Interviewed by Thought Works
908 views
0 comments
0 upvotes