Shopify Interview Questions
Practice 71 real interview questions from Shopify. Covers Coding & Algorithms, Behavioral & Leadership, Analytics & Experimentation, Data Manipulation (SQL/Python). For roles including Data Scientist, Machine Learning Engineer, Software Engineer, Data Engineer.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Compute Jaccard Similarity for Lists
Implement a Python function to compute the Jaccard similarity between two lists of strings. `python def jaccard_similarity(a: list[str], b: list[str])...
Analyze Pirated Theme Usage Impact
An e-commerce platform lets shops install marketplace themes. Some themes are paid, and a shop should have a valid purchase/license before using a pai...
Design hierarchical product classification
Design an end-to-end machine learning system that classifies products into a hierarchical taxonomy such as department -> category -> subcategory. Assu...
Diagnose Weekly Session Conversion Anomalies
You are a Data Scientist supporting an e-commerce platform. You receive a weekly time-series dashboard covering the past three years. The dashboard in...
Measure Shopify App Store Success
You are a Data Scientist working on the Shopify App Store, a marketplace that connects Shopify merchants with third-party app developers. Merchants us...
How would you improve AI-generated code?
During a pair-programming interview, you wrote the rover simulator code using an AI coding assistant. The code works for the basic examples, but the i...
Calculate Pirated Usage and Revenue Loss
You are analyzing theme piracy on an e-commerce platform. Assume the analysis window is 2023-01-01 through 2023-12-31, all timestamps are stored in UT...
Simulate rover movement on a grid
You are building a rover navigation simulator. Part 1: Single rover on a 2D map You are given: - A rectangular 2D grid with coordinates (x, y). - A ro...
Build a Local URL Shortener
Implement a local URL shortener that runs on a single machine. Design a small library or service with two core operations: - shorten(long_url) -> shor...
Build model to predict package delivery time
You are building an ML model to predict package delivery time (ETA) for shipments. Given historical shipping data (order created time, origin/destinat...
Design a rare-book lending and returns system
System Design: Rare Books Circulation Across Multiple Branches Context Design a system to manage borrowing and returning rare books across multiple li...
Implement a multi-rover Mars controller
Problem Build a small command-line “Mars Rover Controller” program. Single rover (v1) A rover starts at coordinate (0, 0) on an infinite 2D grid and i...
Present pirated-usage findings to a PM
You computed (1) monthly % of shops using pirated themes and (2) monthly and cumulative estimated revenue loss from pirated themes. Explain how you wo...
Simulate robot moves on a grid
You are given an m x n grid and a robot that starts at position (r, c) (0-indexed). You are also given a string commands consisting of characters 'U',...
Design a robot movement command system
Robot Movement (Pair Programming) You are given an empty starter repository (only a README). Implement a small, testable robot movement module that ca...
Implement a Capacity-Bounded Cache
Implement an in-memory key-value cache with a fixed capacity. The cache must support the following operations in constant time on average: - get(key):...
Build a fraud detection model
Design a machine learning approach for detecting fraudulent transactions or user actions. Discuss: - How to define the prediction target and labels - ...
Explain your career and flagship project
Walk through your background from university to your current role. For each major transition, explain why you made that choice, what challenge you fac...
Answer Product DS HR Screen
You are preparing for a 30-minute HR screening interview for a Product Data Scientist role at Shopify. Prepare strong, structured answers to the follo...
Design search autocomplete ML system
Design an ML-powered search autocomplete system that suggests query completions as the user types (e.g., after typing a prefix like "ipho" suggest "ip...