Decagon Coding Interview Questions
8 coding questions reported by candidates who interviewed at Decagon, out of 8 Decagon questions we track. They average 3.1/5 difficulty (medium). Most common topics: Design, OOD, Hashmap, Sliding Window. 2 were reported asked within the last year, most recently in October 2026.
Practice Decagon questions →Difficulty
- 2/5 — easy1
- 3/5 — medium5
- 4/5 — hard2
Asked for SWE (8), MLE (3)
Reported Decagon coding questions
Sliding Window Conversation Scores with Update and Percentile Query
4/5Build a sophisticated data structure that records time-stamped ratings and computes sliding-window statistics including percentiles, recently asked in interviews at Decagon. This problem assesses your ability to maintain time-ordered collections, handle dynamic updates efficiently, and execute range-based queries under strict performance constraints. It is an ideal challenge for testing advanced data structures and algorithmic efficiency. Access the complete problem specification and expert implementation details with a paid subscription.
asked October 2026DesignOODSliding WindowCount All Tic-Tac-Toe Game Sequences
3/5Asked during Decagon interviews, this combinatorial puzzle asks you to compute every possible unique sequence of turns in a traditional grid game. Rather than just looking at final outcomes, you must track the chronological order of moves for both participants, accounting for early terminations triggered by winning alignments or full boards. It examines your depth-first search strategy and combinatorial counting skills. To view the complete problem statement and reference solution, a subscription is required.
asked July 2026BacktrackingRecursionGameRecipe Shopping Cart with Ingredient Bulk Discounts (Undo/Redo)
3/5Build a flexible e-commerce basket management system that handles item dependencies, cumulative quantity discounts, and historical state changes, as seen in Decagon technical screens. This problem evaluates your skill in maintaining relational states, aggregating inventory metrics, and implementing undo-redo functionality cleanly. You will practice structuring modular data classes to handle complex business rules without performance degradation. Unlock the full exercise guidelines and reference code by subscribing.
DesignOODHashmapDesign a Sliding Window Average with Insert and Optional Update
3/5Tackle advanced data stream management with this algorithmic coding problem featured in Decagon interviews. The task challenges you to design a specialized component capable of tracking records within a moving temporal window and computing running averages dynamically. You will need to carefully balance insertion efficiency and time-bound aggregation to handle continuous data streams effectively. Unlock the full problem specifications and optimal software design implementation by subscribing today.
DesignOODSliding WindowRecipe Shopping Cart (Ingredients Still Needed)
3/5This Decagon interview scenario asks you to calculate missing ingredients and respective quantities by comparing a user selected set of recipes against their current pantry inventory. The exercise tests your ability to aggregate hierarchical data, manage inventory states, and perform precise dictionary lookups or arithmetic difference operations. It measures your backend logic formulation and data manipulation skills under real-world constraints. Unlock the full problem specifications and the optimal solution by purchasing a subscription.
HashmapSimulationSortingCooking App Cart with Nested Transactions
4/5This advanced coding challenge, reported from Decagon interview loops, requires you to design a robust shopping cart system that manages item quantities and complex discount rules while supporting nested database-style transactions. You will need to implement transactional boundaries, including savepoints, rollbacks, and commits, testing your ability to maintain internal state integrity under multi-layered modifications. It is a great test of object-oriented design and stack-based state management. To view the complete problem statement and implementation details, a subscription is required.
DesignOODStackEnumerate All Games of 4x4 Three-in-a-Row
3/5This Decagon interview question explores combinatorial game theory by asking you to enumerate all valid move sequences for a restricted board game variant. The challenge assesses your skills in recursive backtracking, state space search, and efficient termination tracking under custom winning conditions. You will need to handle deep branching factors while avoiding redundant state evaluations. Access the full problem details and algorithmic solution by purchasing a subscription.
BacktrackingRecursionGameSliding Window Average Calculation
2/5Mastering time-bounded data streams is essential for backend engineering interviews, and this Decagon coding challenge evaluates your ability to efficiently manage chronological records. You will design a custom window tracker that continuously prunes outdated entries while maintaining accurate running calculations as new timestamps arrive. This exercise tests your proficiency with data structures and temporal constraints in a streaming context. Access the complete problem description and expert solution by upgrading to a paid subscription.
DesignOODSliding Window
Decagon coding interview FAQ
- What coding questions does Decagon ask?
- 8 reported coding questions, most often on Design, OOD, Hashmap, Sliding Window, Simulation.
- How hard is the Decagon coding interview?
- The reported coding questions average 3.1 out of 5: 1 at 2/5, 5 at 3/5, 2 at 4/5.
- Are these Decagon coding questions recent?
- The most recent report is from October 2026, and 2 were reported within the last twelve months. Dates come from the interview reports themselves.