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

Grad Consultant

Thought Works
upvote
share-icon
4 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: DSA, Java basics, SQL, OOPS, Dynamic programming, searching and sorting algorithms, good coding practices.
Tip
Tip

Tip 1 : Be very strong in basics, especially OOPS and clean code
Tip 2 : Be confident about what you know, however little it is. If you don't know something, just tell them.
Tip 3 : If you're not well versed in different languages, it's okay to just know one, but know it well.

Application process
Where: Other
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Only mention the things you know
Tip 2 : Your branch, projects, etc do not matter a lot if you've mentioned your skills explicitly and know it well

Interview rounds

01
Round
Easy
Online Coding Test
Duration60 minutes
Interview date1 May 2021
Coding problem3

1. Missing Number

Easy
28m average time
85% success
0/40
Asked in companies
AdobeOlaAmazon

You are given an array 'ARR' of distinct positive integers. You need to find all numbers that are in the range of the elements of the array, but not in the array. The missing elements should be printed in sorted order.

Example:
If the given array is [4, 2, 9] then you should print "3 5 6 7 8". As all these elements lie in the range but not present in the array.
Problem approach

I sorted the array and then used a for loop to find the missing element

Try solving now

2. Maximize the sum

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

You are given two sorted arrays of distinct integers, ‘ARR1’ and ‘ARR2’. If you find a common element in both arrays, you can switch from one array to another.

Your task is to find a path through the intersections i.e common integers of ‘ARR1’ and ‘ARR2’, that produces maximum sum and return that maximum sum as the answer.

For example:
Let ‘ARR1’ = [1, 5, 10, 15, 20]  and ‘ARR2’ = [2, 4, 5, 9, 15]
In this example, common points are 5, 15.

First, we start with ARR2 and take the sum till 5 (i.e. sum = 11). Then we will switch to ‘ARR1’ at element 10 and take the sum till 15. So sum = 36. Now no element is left in ‘ARR2’ after 15, so we will continue in array 1. Hence sum is 56. And the path is 2 -> 4 -> 5 -> 10 -> 15 -> 20.

array

Try solving now

3. Find Missing Number In String

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

You had a sequence of consecutive nonnegative integers. You appended all integers at the end of each other to form a string ‘S’ without any separators. While appending each integer in a string, you forgot to append exactly one integer from the sequence. Now all the integers from a string and you don’t know which integer you have missed.

For example sequence 11, 12, 13 may form a string (without any separators) “1113” if you miss 12.

Your task is to find the missing number in the string such that it is possible to obtain a sequence of consecutive non-negative integers from the given string. If more than one missing integer is present or all the integers are already present or if the string is not valid then the answer will be -1 for all such cases.

Note:
1. The string consists of only digits 0 to 9.
2. The numbers will have no more than six digits. 
Try solving now
02
Round
Hard
Video Call
Duration90 minutes
Interview date7 May 2021
Coding problem1

This was a pair programming round, in which they would give you a question and ask you to solve it while on a call with them.
The main focus of this round is to test your basics.

1. Palindrome Linked List

Easy
20m average time
90% success
0/40
Asked in companies
AmazonAppleMicrosoft

You are given a singly Linked List of integers. Your task is to return true if the given singly linked list is a palindrome otherwise returns false.

For example:
The given linked list is 1 -> 2 -> 3 -> 2-> 1-> NULL.

It is a palindrome linked list because the given linked list has the same order of elements when traversed forwards and backward​.
Follow Up:
Can you solve the problem in O(N) time complexity and O(1) space complexity iteratively?
Try solving now
03
Round
Hard
Video Call
Duration60 minutes
Interview date10 May 2021
Coding problem1

1. Conceptual Questions

Explain OOPS concepts.

What are ACID properties?

Problem approach

Tip 1 : Don't pretend you know something when you don't
Tip 2 : Try to be as confident as you can
Tip 3 : Depth>Breadth of knowledge

04
Round
Easy
HR Round
Duration20 minutes
Interview date20 May 2021
Coding problem1

1. Basic HR Questions

What are your hobbies?

What are your strengths and weaknesses?

Problem approach

Tip 1 : Be an open-minded person
Tip 2 : be candid, there is no need to prepare anything for this round

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
SDE - 1
2 rounds | 4 problems
Interviewed by Thought Works
0 views
0 comments
0 upvotes
company logo
Software Developer
5 rounds | 8 problems
Interviewed by Thought Works
0 views
0 comments
0 upvotes
company logo
Application Developer
3 rounds | 5 problems
Interviewed by Thought Works
1331 views
0 comments
0 upvotes
company logo
Grad Consultant
4 rounds | 5 problems
Interviewed by Thought Works
359 views
0 comments
0 upvotes