Shopify Coding Interview Questions
13 coding questions reported by candidates who interviewed at Shopify, out of 17 Shopify questions we track. They average 2.8/5 difficulty (medium). Most common topics: Ai Allowed, MLE, Ai Tools, Medium Difficulty. 11 were reported asked within the last year, most recently in July 2026.
Practice Shopify questions →Difficulty
- 2/5 — easy2
- 3/5 — medium11
Asked for SWE (13), MLE (7), DS (1), DataEng (1)
Reported Shopify coding questions
Implement a URL Shortener in an Existing Git Repository
3/5This Shopify coding exercise places you inside an existing codebase where you must design and integrate a fully functional URL shortening service. You will need to write core routing logic, ensure proper redirection behavior, and validate your implementation using automated testing tools within a Git environment. The task simulates real-world software engineering workflows and feature integration. To examine the complete repository requirements and the expert model solution, a subscription is needed.
asked July 2026ShopifyMoon Rover / Robot Movement Simulation (with obstacles and multiple rovers)
3/5In this engaging Shopify interview challenge, you must simulate the movement of automated rovers across a mapped coordinate grid while processing sequential directional commands and environmental obstacles. The task tests your spatial reasoning, state management, and algorithmic collision detection capabilities in a grid-based environment. You will need to carefully update positions and orientations according to strict rules. To access the full problem details and a robust implementation guide, subscribe today.
asked July 2026ShopifyRover Navigation on a 2D Grid (with follow-ups: multiple rovers, 3D, code review/improvements)
3/5This Shopify coding question asks you to simulate a vehicle's turns and steps inside a bounded grid and report where it ends up. It tests clean state handling and boundary checks, and its follow-ups probe how the design extends to several vehicles, a third dimension and a code-quality review.
asked July 2026ShopifySecret Santa / Gift Assignment from CSV
2/5Tackle a practical data manipulation and randomization puzzle often assigned in Shopify software engineering interviews, requiring the automated assignment of holiday gift partners from a CSV input. This problem tests your capability to parse tabular inputs, handle ambiguous requirements, and implement randomized constraints without self-assignments. Excelling in this task demonstrates your knack for writing pragmatic scripts under loosely defined specifications. Unlock the full prompt details and professional reference solution by subscribing today.
asked July 2026MLECSVSamplingCows and Bulls (Guess the Number)
2/5Master the implementation of the classic guessing game where secret digits must be evaluated against player attempts to produce accurate positional and value matches, featured as an onsite coding assessment at Shopify. This problem examines your string manipulation abilities, hash map usage, and simulation logic while emphasizing robust input handling and unit testing practices. It is a fantastic exercise for honing foundational programming skills and edge-case management. Unlock the complete problem breakdown and verified model solution by upgrading to a paid subscription.
asked July 2026MLESimulationStringWord Guessing Game with Positional Hints (4-letter, 5 turns)
3/5A Shopify coding question on building the core of a short word-guessing game with positional feedback and a limited number of attempts. It tests turning game rules into clean state handling, input validation and per-position comparison logic.
asked July 2026ShopifyMars Rover Control Application
3/5Object-oriented design and grid navigation come together in this Shopify interview question, which tasks candidates with building a remote vehicle movement controller. The application must process directional commands, maintain coordinates within a bounded two-dimensional space, and manage multiple entity instances with collision prevention. This prompt evaluates state management, command pattern implementation, and robust error validation in a simulated environment. The complete problem statement and expert model solution require an active subscription.
asked July 2026ShopifyMars Rover / Robot Controller (CLI)
3/5This widely reported pair-programming exercise from Shopify challenges engineers to build a command-line interface application that simulates a robotic rover navigating a two-dimensional grid space. Candidates must implement directional state tracking, movement mechanics, and boundary processing based on sequential instructions while gracefully handling edge cases. Although the initial specifications appear straightforward, the real evaluation centers around extensibility, clean object-oriented architecture, and handling complex follow-up requirements. The complete problem statement, testing strategies, and expert reference solution are exclusively available to paid subscribers.
asked June 2026MLESWEOOP DesignWord Guessing Game (Wordle-style)
3/5Build a popular letter-matching word puzzle application from scratch, incorporating validation logic, iterative guessing mechanics, and positional feedback cues. Featured in Shopify hiring loops, this coding challenge assesses your string manipulation abilities, state management, and algorithmic thinking for simulating interactive games. Gain immediate access to the full problem description, test cases, and expert solution by purchasing a subscription.
asked May 2026MLESWESimulationURL Shortener Service (CLI)
3/5Designed around a Shopify technical screen, this coding and system design task requires you to build a functional command-line URL encoding and resolution utility. While the algorithmic core is lightweight, the exercise heavily emphasizes robust object-oriented design, collision mitigation strategies, persistence choices, and thorough testing protocols. Unlock the complete requirements, architecture guidance, and reference implementation by subscribing.
asked May 2026MLESWEHashingSQL Pair Programming (Data Engineer)
3/5This data engineering pair programming session, commonly encountered during technical interviews at Shopify, tests your practical query-writing proficiency through a live coding environment. You will work through escalating relational database challenges involving data cleansing, temporal aggregation, and string manipulation across multiple interconnected tables. To view the complete set of prompts and verified query solutions, a subscription is required.
asked January 2026DSSQLData EngineeringSWE / SDE Intern Coding OA (DP + C++/Ruby)
3/5Prepare for a multi-part technical coding assessment recently featured in Shopify intern hiring processes, spanning dynamic programming and language-specific utilities in C++ and Ruby. The timed evaluation tests adaptability across distinct paradigms, combining algorithmic optimization with concise string manipulation and collection filtering tasks. Success requires efficient time management and fluency in multiple programming environments. Access to the full exam breakdown and model solutions requires a subscription.
asked August 2025ArrayC++Dynamic ProgrammingIn-Memory File System / Directory Tree
3/5Hierarchical data structures and object-oriented design principles are highlighted in this Shopify interview prompt, which challenges engineers to construct an in-memory file system management tool. The task involves supporting directory navigation, path creation, file reading, and conflict management through efficient tree or trie architectures. This exercise assesses API design, memory management, and tree traversal efficiency under simulated operational loads. Reviewing the complete problem description and model implementation requires a paid subscription.
asked August 2025MLETrieFilesystem
Recent Shopify interview experiences
Full loops shared by candidates, every round included.
Shopify coding interview FAQ
- What coding questions does Shopify ask?
- 13 reported coding questions, most often on Ai Allowed, MLE, Ai Tools, Medium Difficulty, Shopify.
- How hard is the Shopify coding interview?
- The reported coding questions average 2.8 out of 5: 2 at 2/5, 11 at 3/5.
- Are these Shopify coding questions recent?
- The most recent report is from July 2026, and 11 were reported within the last twelve months. Dates come from the interview reports themselves.