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

Developer Associate

ThoughtSpot
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
When I joined college, I was unaware of this Data Structure and Algorithm, which made my journey to getting an internship more complicated. From that point, I started doing questions on leetcode and Code Studio.
Application story
This company visited to my campus for the placement where i applied for it .
Why selected/rejected for the role?
I was rejected because i was not able to provide a good approach to the DSA question which are being asked
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Practice from Leetcode, solve Leetcode medium level problems.
Tip 2 : Brush up computer fundamentals from subjects like OS, DBMS and CN.
Tip 3 : Have a good project or good internship experience and have in-depth knowledge regarding what you have done.

Application process
Where: Campus
Eligibility: Above 7 CGPA
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
Video Call
Duration60 minutes
Interview date22 Mar 2023
Coding problem2

1. Co-prime Twins

Hard
70m average time
40% success
0/120
Asked in companies
Tekion CorpNetlink

A pair of positive integers (a, b) is said to be a coprime-twin pair, if for all positive integers x, both a and b and are coprime to x or both and are not coprime to x. Formally, 2 distinct positive integers a and b can form a coprime-twin pair if and only if S(a) = S(b), where S(x) denotes the set of all positive integers that are coprime to x.

For example:
2 and 4 are coprime-twin pairs.
1 and 2 are not coprime-twin pairs.


The score of a sequence a1, a2, .. an is the number of indices (i, j) such that i < j and the pair (ai, aj) forms a coprime-twin pair.

You are given an array A of positive integers and Q queries of the form L, R. For each query, determine the score of the subarray [L,  R] inclusive.

Note: A subarray is a contiguous non-empty segment of the array. 
Try solving now

2. Puzzle

An ant is at the bottom of the wall 35 feet down. It climbs up 2 feet each hour, but later it slips down 1 feet. How long will it take to reach the top of the wall?

Problem approach

Tip 1 : Ant climbs up 2 feet every hour, but slips 1 foot as well. So it succeeds in climbing 1 foot per hour.
Tip 2 : 33 hours, it would have climbed 33 feet. In the 34th hour it would climb further up and reach the top of the wall .
Tip 3 : Answer is 34 hours.

02
Round
Easy
Video Call
Duration60 minutes
Interview date22 Mar 2023
Coding problem3

1. Quick Sort

Moderate
10m average time
90% success
0/80
Asked in companies
FreshworksSamsung R&D InstituteLenskart

You are given an array of integers. You need to sort the array in ascending order using quick sort.

Quick sort is a divide and conquer algorithm in which we choose a pivot point and partition the array into two parts i.e, left and right. The left part contains the numbers smaller than the pivot element and the right part contains the numbers larger than the pivot element. Then we recursively sort the left and right parts of the array.

Example:

Let the array = [ 4, 2, 1, 5, 3 ]
Let pivot to be the rightmost number.

example

After the 1st level partitioning the array will be { 2, 1, 3, 4, 5 } as 3 was the pivot. After 2nd level partitioning the array will be { 1, 2, 3, 4, 5 } as 1 was the pivot for the left part and 5 was the pivot for the right part. Now our array is sorted and there is no need to divide it again.

Problem approach

Use the quick sort algorithm to solve it.

Try solving now

2. OS Question

What do you understand by Caching. (Learn)

Problem approach

Tip 1 : Explain the term 
Tip 2 : Tell some places in life where caching is used 
Tip 3 : Tell how caching is done in the system

3. DBMS Question

What are the ACID properties. (Learn)

Problem approach

Tip 1 : Explain each term of the ACID 
Tip 2 : Why is it useful to have acid transaction

03
Round
Easy
HR Round
Duration20 minutes
Interview date22 Mar 2023
Coding problem1

1. Basic HR Questions

Are you comfortable with relocation?

What do you know about the company?

Why do you want to join ThoughtSpot?

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
SDE - 1
3 rounds | 5 problems
Interviewed by ThoughtSpot
1416 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by ThoughtSpot
1323 views
0 comments
0 upvotes
Frontend developer II
3 rounds | 7 problems
Interviewed by ThoughtSpot
674 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Developer Associate
5 rounds | 6 problems
Interviewed by SAP Labs
2174 views
0 comments
0 upvotes
company logo
Developer Associate
4 rounds | 5 problems
Interviewed by SAP Labs
895 views
0 comments
0 upvotes
company logo
Developer Associate
4 rounds | 6 problems
Interviewed by SAP Labs
1573 views
0 comments
0 upvotes