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

Application Developer

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

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Graphs, Dynamic Programming, Linked List, Sorting Algos
Tip
Tip

Tip 1 : Practice DSA for at least 2 months
 

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

Tip 1 : 1-2 good projects are needed
Tip 2 : it's better to have some internship experience

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date17 Sep 2021
Coding problem2

first round was code pairing round, problem statement was provided and you have to use OOPS principles and come up with the solution.
Interviewer are really helpful so ask for help if needed.

1. Channel Subscription

Channel Subscription
As a cable TV operator, I want to provide my customers the ability to subscribe to a channel
of their choice and upgrade to different packs based on their preference.
A customer has a certain balance in his/her account and wishes to subscribe to a channel.
The channel should get added to the list of subscribed channels for the customer.
A customer might also wish to upgrade an existing channel he/she has already subscribed
to. This should be allowed if an upgrade is possible for the channel.
All of the above should be allowed as long as the customer has the required minimum
balance needed for subscription/upgrade. After the subscription/upgrade the difference
amount should be reflected immediately in the customer’s account.
Hardcoded Data:
List of channels, with the possible upgrades. Eg:
ABC Channel:
Base: 120 INR
SD: 130 INR
HD: 150 INR
4k: 200 INR
Allowed Locations: USA, Canada
PQR Channel:
Base: 120 INR
SD: 130 INR
Allowed Locations: All
Customer Details:
Name: John Doe
Account Balance: 1000 INR
Currently Subscribed Channels: PQR (Base)

Input:
Do you want to subscribe or upgrade?
Subscribe
Enter Channel Name
ABC
Please choose subscription type: (Base, SD, HD, 4k)
4k
O/p:
Channel ABC (4k) subscribed successfully.
Available account balance: 800 INR
Continue? 
Y

Input:
Do you want to subscribe or upgrade?
Upgrade
Enter Channel Name
PQR
Please choose subscription type: (Base, SD)
SD
O/p:
Channel PQR (SD) subscribed successfully.
Available account balance: 790 INR

Problem approach

Used OOPs principles like inheritance to solve the question.

2. Intersection of Two Linked Lists

Easy
25m average time
73% success
0/40
Asked in companies
OracleThought WorksIBM

You are given two Singly Linked Lists of integers, which may have an intersection point.

Your task is to return the first intersection node. If there is no intersection, return NULL.


Example:-
The Linked Lists, where a1, a2, c1, c2, c3 is the first linked list and b1, b2, b3, c1, c2, c3 is the second linked list, merging at node c1.

alt.txt

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date18 Sep 2021
Coding problem3

Interviewer were really helpful and interactive.

1. Middle Of Linked List

Easy
20m average time
80% success
0/40
Asked in companies
SamsungGoldman SachsOracle

Given a singly linked list of 'N' nodes. The objective is to determine the middle node of a singly linked list. However, if the list has an even number of nodes, we return the second middle node.

Note:
1. If the list is empty, the function immediately returns None because there is no middle node to find.
2. If the list has only one node, then the only node in the list is trivially the middle node, and the function returns that node.
Problem approach

I used slow fast approach to find mid in single traversal.

Try solving now

2. Merge Sort

Easy
15m average time
85% success
0/40
Asked in companies
BarclaysOracleHCL Technologies

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.
Problem approach

explained merge sort working and coded the same.

Try solving now

3. Merge Sort Linked List

Moderate
10m average time
90% success
0/80
Asked in companies
AdobeSamsung R&D InstituteHCL Technologies

You are given a Singly Linked List of integers. Sort the Linked List using merge sort.

Merge Sort is a Divide and Conquer algorithm. It divides the input into two halves, calls itself for the two halves, and then merges the two sorted halves. The merge() function is used for merging two halves. The merge(arr, L, M, R) is a key process that assumes that arr[L..M] and arr[M + 1...R] are sorted and merges the two sorted subarrays into one.

Problem approach

explained merge sort working and coded the same for linked list.

Try solving now
03
Round
Easy
HR Round
Duration60 minutes
Interview date22 Sep 2021
Coding problem4

you are expected to listen to questions carefully and tell how you feel about the situation given.

1. Basic HR Question

How to deal with workplace conflict?


 

Problem approach

Tip 1 : Explain what you will do if you face such situation
Tip 2 : If you have faced such situation in passed you can tell how you dealt it.
 

2. Basic HR Question

Where do you see yourself in 5 years?


 

Problem approach

Tip 1 : Explain your goals and expectations
Tip 2 : Be ready for cross questions
 

3. Basic HR Question

As pair programming is followed at thought works what will you do if your pair doesn't listen to you?


 

Problem approach

Tip 1 : Explain how you will approach your pair
Tip 2 : How you will tell your point to them
Tip 3 : What will you do if they don't change their behaviour.

4. Basic HR Question

If your female friend is not being allowed by her family members to work, how will you help her?


 

Problem approach

Tip 1 : Explain what you can do to help her
Tip 2 : What thought works as an organisation can do to make it possible for her to continue work.
 

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
3 rounds | 5 problems
Interviewed by Thought Works
962 views
0 comments
0 upvotes
company logo
Application Developer
3 rounds | 5 problems
Interviewed by Thought Works
1331 views
0 comments
0 upvotes