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

SDE - 1

ThoughtSpot
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
My personal journey is very challenging coming from a middle-class family I need not have the access to a computer for a long time. I came to know about computer when i joined my college but from there i never look back again.
Application story
This is an on-campus placement opportunity for me the company visited my campus for the placement .
Why selected/rejected for the role?
This was a great experience for me i was able to perform well, and i am satisfied with the effort i have put forward.
Preparation
Duration: 4 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Prepare your resume well. 
Tip 2 : Deploy your projects so that the interviewer can view it. Also provide a hyperlink on your resume.
Tip 3 : Be thorough with Data Structures and Algorithms. Also prepare well topics such as OS,DBMS.

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

Tip 1 : Deploy your projects so that the interviewer can view it. Also, provide a hyperlink on your resume
Tip 2 : It's not important to have fancy projects. Only mention those on which you're confident.

Interview rounds

01
Round
Easy
Face to Face
Duration90 mins
Interview date25 Nov 2022
Coding problem2

1. Word Search - I

Moderate
30m average time
60% success
0/80
Asked in companies
OlaGoldman SachsIBM

You are given a 2D board('N' rows and 'M' columns) of characters and a string 'word'.


Your task is to return true if the given word exists in the grid, else return false. The word can be constructed from letters of sequentially adjacent cells, where adjacent cells are horizontally or vertically neighboring.


Note:
The same letter cell should not be used more than once.
For Example:
For a given word “design” and the given 2D board 
[[q’, ‘v’, ‘m’, ‘h’],
 [‘d’, ‘e’, ‘s’, ‘i’],
 [‘d’, ‘g’, ‘f’, ‘g’],
 [‘e’, ‘c’, ‘p’, ‘n’]]

The word design can be formed by sequentially adjacent cells as shown by the highlighted color in the 2nd row and last column.

board

Problem approach

You have been given a column title as appears in an Excel sheet, return its corresponding column number.
For Example:
A -> 1
B -> 2
C -> 3
...
Z -> 26
AA -> 27
AB -> 28

Try solving now

2. Climbing the leaderboard

Moderate
15m average time
80% success
0/80
Asked in companies
Goldman SachsDunzoLenskart

Given a leaderboard of a game with the following ranking pattern:

The player with the highest score is ranked number 1 on the leaderboard.

Players who have equal scores receive the same ranking number, and the next player(s) receive the immediately following ranking number.

You are given game scores of a player of ‘M’ rounds. Your task is to return the position obtained in each round.

Note:
The leaderboard scores are in descending order.
The game scores are given in ascending order.
Problem approach

The ranking pattern of a game's leaderboard is such that the player with the highest score is assigned a rank of 1. Players who have the same score are assigned the same ranking number, and the next player or group of players with a lower score is assigned the next sequential ranking number.

Try solving now
02
Round
Easy
Face to Face
Duration90 mins
Interview date25 Nov 2022
Coding problem2

1. Flatten The Multi-Level Linked List

Moderate
10m average time
80% success
0/80
Asked in companies
AmazonGoldman SachsMicrosoft

You are given a multi-level linked list of 'N' nodes, each node has a next and child pointer which may or may not point to a separate node. Flatten the multi-level linked list into a singly linked list. You need to return the head of the updated linked list.

Example:

Sample Multi-Level

Flatten :

All the different rows are merged into a single row.
Problem approach

A multi-level linked list is a linked list in which each node can have multiple child nodes, each of which can be another linked list or a leaf node (a node that has no child nodes). The task of flattening a multi-level linked list is to rearrange the nodes of the list such that all the nodes appear in a single level linked list, with no child nodes.

Try solving now

2. The Celebrity Problem

Moderate
30m average time
60% success
0/80
Asked in companies
OlaVisaApple

There are ‘N’ people at a party. Each person has been assigned a unique id between 0 to 'N' - 1(both inclusive). A celebrity is a person who is known to everyone but does not know anyone at the party.

Given a helper function ‘knows(A, B)’, It will returns "true" if the person having id ‘A’ know the person having id ‘B’ in the party, "false" otherwise. Your task is to find out the celebrity at the party. Print the id of the celebrity, if there is no celebrity at the party then print -1.

Note:
1. The helper function ‘knows’ is already implemented for you.
2. ‘knows(A, B)’ returns "false", if A doesn't know B.
3. You should not implement helper function ‘knows’, or speculate about its implementation.
4. You should minimize the number of calls to function ‘knows(A, B)’.
5. There are at least 2 people at the party.
6. At most one celebrity will exist.
Problem approach

There are ‘N’ people at a party. Each person has been assigned a unique id between 0 to 'N' - 1(both inclusive). A celebrity is a person who is known to everyone but does not know anyone at the party.

Try solving now
03
Round
Easy
HR Round
Duration20 mins
Interview date25 Nov 2022
Coding problem1

1. Basic HR Questions

Tell me about yourself.
Why should I hire you?
What are your strengths and weaknesses?

Why do you want to work at our company?
What is the difference between confidence and over confidence?

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
1414 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by ThoughtSpot
1161 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by ThoughtSpot
1323 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3451 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57824 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes