THG logo

Enterprise · Software Engineer Interview Guide

Sign up to see ATS

How to Pass the THG Software Engineer Interview in 2026

The THG DNA (TL;DR)

THG's bar-raiser round critically evaluates a candidate's commercial acumen and ability to scale operations, often probing past experiences with large-scale retail or manufacturing. They seek individuals who can articulate how their contributions would directly impact the growth of brands like Cult Beauty or enhance infrastructure like Hangar Seven.

The THG Interview Loop

Your onsite loop will typically consist of 5 rounds.

  1. 1

    Round 1

    Recruiter Screen
    Motivation, role fit, logistics.
  2. 2

    Round 2

    Coding Screen
    LeetCode-medium algorithmic problems under time pressure.
  3. 3

    Round 3

    System Design
    Distributed systems, trade-offs at scale, architecture under constraints.
  4. 4

    Round 4

    Onsite Coding
    LeetCode-hard, debugging, code clarity, edge cases.
  5. 5

    Round 5

    Behavioral / Leadership
    Past evidence of ownership, influence, resolving conflict.

The Danger Zone: Top Reasons Candidates Fail

Based on our database of THG interview outcomes, avoid these common traps:

  • Not reflecting on what worked well or what could be improved in their learning approach.
  • Introducing new bugs during refactoring.
  • Issues with quote escaping or handling of special characters within strings.
  • Overlooking the need for high availability and low latency for redirection.

Test Yourself: Real THG Questions

Three real prompts pulled from our database.

Type · code-clarity

Refactor the following code snippet, which processes user reviews for sentiment analysis, to improve its readability, maintainability, and efficiency. Add comments where necessary.

Type · ownership

Tell me about a time you encountered a significant technical challenge in a project that wasn't explicitly part of your assigned tasks. How did you approach it, and what was the outcome?

Type · algorithmic

Design a function to validate if a given string represents a valid JSON object. Focus on correct nesting of brackets, quotes, and data types.

+ many more questions, signals, and worked examples

Sign up to unlock the JobMentis grading rubric

Unlock the rubric

THG Interview Question Bank

A sample from our database, grouped by round. Sign up to see the full set.

9 of 17 questions shown

1

Recruiter Screen

1
  1. 1

    Type · motivation

    What interests you about working at THG, specifically within our retail technology division, and how do you see your skills contributing to our mission of building digital commerce brands?
2

Coding Screen

3
  1. 2

    Type · algorithmic

    Given a list of product IDs and their corresponding sales counts for a given day, write a function to find the top K most frequently sold products. Consider edge cases like ties in sales counts.
  2. 3

    Type · algorithmic

    Implement a function that takes a list of user IDs and their last login timestamps, and returns a list of user IDs who have been inactive for more than 30 days. Assume timestamps are in Unix epoch time.
  3. + 1 more questions in this round (sign up to unlock)
3

System Design

3
  1. 4

    Type · design

    Design a real-time inventory tracking system for THG's global warehouses. Consider how to handle high-volume updates from multiple sources (e.g., online sales, physical store transfers) and ensure data consistency across the platform.
  2. 5

    Type · design

    Design a URL shortening service similar to bit.ly, but optimized for THG's e-commerce context (e.g., tracking campaign performance, product links). Discuss trade-offs in hashing algorithms and storage.
  3. + 1 more questions in this round (sign up to unlock)
4

Onsite Coding

4
  1. 6

    Type · algorithmic

    Given a binary tree representing product categories, where each node has a product count, write a function to find the category with the highest total product count within a given subtree (defined by a root node).
  2. 7

    Type · debugging

    Here is a piece of Python code intended to calculate the average order value for different customer segments. It has several bugs. Please identify and fix them, explaining your reasoning.
  3. + 2 more questions in this round (sign up to unlock)
5

Behavioral / Leadership

6
  1. 8

    Type · conflict resolution

    Tell me about a time you had a significant disagreement with a colleague or team member. How did you handle it, and what was the resolution?
  2. 9

    Type · ownership

    Tell me about a time you encountered a significant technical challenge in a project that wasn't explicitly part of your assigned tasks. How did you approach it, and what was the outcome?
  3. + 4 more questions in this round (sign up to unlock)

Unlock the full THG question bank

Free signup, no credit card. You get every question + the framework, grading signals, and worked answer for each.

Unlock all questions

Interview tracks at THG

How THG's DNA translates across functions. Pick your role.

Compare THG with similar employers

Same DNA, different bar. Browse the closest companies in our database and see how their loops differ.

Practice THG interviews end-to-end

FAQ

WorkfiveExplore careers on Workfive