19 questions · from 7 interviews

Thoughtspot interview questions

Every question candidates reported from their Thoughtspot interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.

Thoughtspot coding and DSA questions

  1. 01

    Service Deployment Order Based on Dependencies

    You are given a root directory called /services . Inside this directory, each subdirectory represents a service. Each service contains a file config.txt , which lists its dependencies in the format: depends=ServiceA,ServiceB,ServiceC If there are no…

    Hard · From ThoughSpot Interview Experience/Question - MTS2,3

  2. 02

    Implement a Versioned Stack

    Implement a versioned stack that allows multiple versions of the stack to be maintained. Each version should be a copy of the stack at a particular point in time, and operations should be able to be performed on different versions without affecting others.

    Medium · From Thoughtspot MTS 3 Interview Experience (Full stack) | YOE - 2.5 years

  3. 03

    Add Two Large Numbers Using Linked Lists

    Given two large numbers that do not fit into normal integers, add them using a linked list. The solution should be similar to the LeetCode problem Add Two Numbers .

    Medium · From Thoughtspot MTS 3 Interview Experience (Full stack) | YOE - 2.5 years

  4. 04

    Excel Sheet Column Title

    Given an integer, return its corresponding column title as it appears in an Excel sheet. For example, 1 - A, 2 - B, ..., 26 - Z, 27 - AA, 28 - AB, etc.

    Easy · From Thoughtspot MTS4 Interview - Reject

  5. 05

    Coin Change with Binary-Valued Numbers

    Given an array of numbers where each number is represented in binary but its value is interpreted in decimal (e.g., [0, 1, 10, 11, ...] have decimal values 0, 1, 2, 3, ...), and a target number N, find the minimum number of elements from the given array to…

    Hard · From Thoughtspot MTS4 Interview - Reject

  6. 06

    Longest Substring of Same Characters in Sorted String

    Given a sorted string S of length N consisting of only lowercase english alphabets. The task is to return the length of longest substring consisting of same characters. Input: aaabbccccdde Ans: 4 (substring is "cccc")

    From ThoughtSpot | SDE-2 Backend | Bangalore

  7. 07

    Course Schedule II

    Course Schedule II

    From ThoughtSpot | SDE-2 Backend | Bangalore

  8. 08
  9. 09

    Path with Minimum Stress Level in a Graph

    Given an undirected graph with N vertices and M edges. Each edge (u,v) has a weight w. Given a source S and destination D. We have to find a path from S to D such that the maximum edge weight in the path is minimized. This maximum edge weight in the path is…

    From ThoughtSpot | SDE-2 Backend | Bangalore

  10. 10

    Design a Store Class with Subscribe, Save, and Remove

    I was asked to design a Store class from scratch. The class needed to support three main operations: Subscribe – This method takes a key, an update function and a cleanup function. Also, the subscribe method should return a cleanup function that can remove…

    Medium · From Thoughtspot - SMTS - Frontend

  11. 11

    Count Distinct Elements in Subarrays of Size K

    You are given an array arr and an integer k . You need to find the count of distinct elements for each subarray of size k .

    From ThoughtSpot | Coding, LLD | SDE-2

  12. 12

    Snake and Ladder Game - Minimum Dice Throws

    You are given a snake and ladder board of size M x N . You are also given start and end points of the snakes and ladders. Find the minimum number of dice throws required to reach the last cell from the first. Example: M=5, N=6 (total 30 cells) Snakes: 7-4,…

    From ThoughtSpot | Coding, LLD | SDE-2

Thoughtspot system design questions

  1. 01

    Design Event and Engagement Tracker System

    Design an event and engagement tracker system. Vendors onboard their products. Users receive campaign links via mail/SMS; clicking redirects to the product. The system should track and display metrics like clicks, impressions, etc., to vendors.

    Hard · From Thoughtspot MTS4 Interview - Reject

  2. 02

    Design a ChatGPT-based UI with Context Management

    Design a ChatGPT-based UI, assuming an LLM model that works but cannot retain conversation context. Users can have multiple chats and continue old ones. The design must ensure that input to the ML model is provided such that it gives accurate responses,…

    Hard · From Thoughtspot MTS4 Interview - Reject

  3. 03

    Meeting Scheduler System Design

    You are required to design a meeting scheduler system with the following capabilities: 1. There are N predefined meeting rooms available in the system. 2. A user should be able to book a meeting available room by providing: - Array of rooms[] with details…

    From ThoughtSpot | Senior Software Engineer | LLD Design problem

  4. 04

    Design Logger

    Design a Logger system.

    From ThoughtSpot | Coding, LLD | SDE-2

Thoughtspot behavioural and HR questions

  1. 01

    Describe a Recent Task

    Explain a recent task you completed.

    Easy · From Thoughtspot MTS4 Interview - Reject

  2. 02

    Reasons for Leaving Current Organization

    Why do you want to leave your current organization?

    Easy · From Thoughtspot MTS4 Interview - Reject

  3. 03

    Keeping Up with Generative AI

    How do you keep up with Generative AI (GenAI) technologies and developments?

    Easy · From Thoughtspot MTS4 Interview - Reject

Thoughtspot interview questions FAQ

What questions are asked in Thoughtspot interviews?

Candidates reported 19 distinct questions across 7 Thoughtspot interviews. 12 coding and DSA questions, 4 system design questions, 3 behavioural and HR questions.

How difficult are Thoughtspot interview questions?

Of the questions candidates rated, 36% were easy, 27% medium and 36% hard.