Shopify Software Engineer interview questions

9 Software Engineers have shared notes from their Shopify interviews, with the questions they were asked in each round. That is 31% of the 29 Shopify interview notes on Screna AI.

9 Software Engineer interview notes

Shopify·Software Engineer·Technical Phone Screen

Jun 2026
Shopify coding interview, looks like a backend or software engineering role. The problem was a rover controller extension, starting simple and then adding multi-rover concurrency. Pretty classic OOP design question dressed up in a fun theme.
  • You're given a basic Mars rover that starts at (0,0) facing north and supports turn_left, turn_right, and move commands. Extend it to support multiple rovers on the same grid, each with a unique ID, and add create, delete, and select operations so that movement commands apply to whichever rover is currently selected.

“My first instinct was to just bolt a dictionary onto the existing rover class and call it a day.”

View Post

Shopify·Software Engineer·Technical Phone Screen

Jun 2026
Shopify data/analytics interview with a SQL-heavy question that required more than just knowing window functions. The zero-session day handling tripped me up more than I expected.
  • For each shop and each day in a reporting period, return the daily session count and a 7-day trailing average that excludes the current day. Days with zero sessions must still appear in the output and count toward the average.

“The window function part I got fine, ROWS BETWEEN 7 PRECEDING AND 1 PRECEDING is pretty textbook once you know it exists.”

View Post

Shopify·Software Engineer·Take-home Assignment

May 2026
Shopify software engineering interview that was basically a full mini-project: build a local URL shortener from scratch, covering encoding, persistence, memory, and tests. No vague questions, just a concrete spec and a lot of ground to cover.
  • Design and implement a local URL shortener tool with input validation, short code generation, in-memory storage with JSON file persistence, and a full test suite targeting 90%+ coverage.
  • How would you handle hash collisions in a short URL encoding scheme, and how would you test for them?
  • Estimate how many URL mappings an in-memory hash map can hold on a typical machine, and describe how you'd scale beyond a single process.
  • How would you persist the in-memory URL map across restarts without using a database?

“This was a lot to hold in your head at once.”

View Post

Shopify·Software Engineer·Technical Phone Screen

May 2026
AI-assisted technical screen for a software engineer role at Shopify. The whole thing was built around reading AI-generated code and figuring out where it fell short, which was a different vibe than the usual 'write this from scratch' format.
  • Implement a Wordle-like word guessing game: given a dictionary of valid 4-letter words and a randomly selected target, accept up to 5 guesses from the user, reject invalid words without consuming a turn, and return hints indicating correct letters in the right position, correct letters in the wrong position, or letters not in the target at all.

“The problem itself wasn't hard to understand but the AI-generated starter code had some subtle issues I had to catch.”

View Post

Shopify·Software Engineer·Technical Phone Screen

May 2026
Shopify technical phone screen for a backend or systems-adjacent role, focused on extending an existing Mars rover simulation with collision detection. One question, pretty contained scope, but the devil is in the edge cases.
  • You're given an existing multi-rover controller with basic movement and selection commands. Extend it so that a rover cannot move into a cell already occupied by another rover. The move should fail gracefully and signal the failure to the caller without changing any other state.

“I jumped straight into checking the target cell before updating position, which is the right instinct.”

View Post

Shopify·Software Engineer·Technical Phone Screen

Apr 2026
Shopify data engineering screen, one SQL question about session counts by day. Pretty focused, no fluff.
  • Given a sessions table with session-start timestamps, write a SQL query that returns the number of sessions per day, with columns (day, session_count) ordered by day. No joins needed, just the one table.

“Seemed straightforward until I started second-guessing the date truncation part.”

View Post

Shopify·Software Engineer·Onsite - Coding / Algorithms

Apr 2026
Shopify pair-programming round where the whole point wasn't really the LRU cache, it was how you work with an AI coding tool live in front of someone. Weirder than a normal coding screen in ways I didn't fully anticipate.
  • Implement an LRU cache with O(1) get and put operations using a hash map and doubly linked list.
  • How do you scope a task and prompt an AI coding tool effectively when starting a non-trivial implementation?
  • After the AI generates code, how do you verify it's correct? Walk through your process for testing and checking edge cases.

“Classic problem but the twist here is you're supposed to use an AI coding assistant to help write it, and the interviewer is watching how you interact with the tool more than whether you can code it from scratch.”

View Post

Shopify·Software Engineer·Take-home Assignment

Mar 2026
Shopify gave me a take-home where I had to build a Mars rover controller from scratch, starting from an empty repo. The spec was intentionally vague, which was either a fun design exercise or a mild anxiety spiral depending on your tolerance for ambiguity.
  • Build a Mars rover controller from an empty Git repository. The rover starts at (0, 0) facing north and must support turn_left, turn_right, and move commands. After each command, it should report its current position and direction. The requirements are deliberately underspecified, so you need to state your assumptions explicitly.

“The ambiguity was the whole point and I almost missed that.”

View Post

Shopify·Software Engineer·Technical Phone Screen

Mar 2026
Shopify data/analytics SQL round, one question, pretty focused on whether you'd catch the shops table having duplicate rows. Felt straightforward until I realized the dedup step was the whole point.
  • Write a SQL query that returns the count of distinct user sessions per shop and per day. The shops table may contain duplicate shop_id rows.

“I wrote the join fine but completely missed the duplicate shops issue on my first pass.”

View Post