Problem database last updated: June 20, 2025

SShopee logo

Shopee Coding Interview Questions

9 problems · 5 Easy, 4 Medium, 0 Hard · Ranked #152 of 458

Difficulty breakdown

5 Easy

56% · avg 23%

4 Medium

44% · avg 59%

0 Hard

0% · avg 18%

Top topics

array
44.4%
linked-list
22.2%3.1x
dynamic-programming
22.2%
string
22.2%
hash-table
11.1%
design
11.1%1.9x

Interview profile

Based on 9 reported problems, Shopee interviews are easier than average - only 0% Hard compared to 18% across all companies.

Compared to the industry average, Shopee puts unusual emphasis on linked-list (22.2% of problems, 3.1x the industry average). If you're short on time, these are the categories to double down on.

The most common topics are array (44.4%), linked-list (22.2%), dynamic-programming (22.2%), string (22.2%). Problems below are sorted by frequency, the ones at the top are asked most often.

All 9 problems

LRU Cache

Solve

Design a data structure that follows the constraints of a Least Recently Used (LRU) cache.

MediumVery Likely
hash-tablelinked-listdesign

Jump Game

Solve

You are given an integer array nums. You are initially positioned at the array's first index, and each element in the array represents your maximum jump length...

MediumVery Likely
arraydynamic-programminggreedy

Valid Parentheses

Solve

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

EasyLikely
stringstack

Merge Two Sorted Lists

Solve

You are given the heads of two sorted linked lists list1 and list2.

EasyLikely
linked-listrecursion

Two Sum

Solve

Given an array of integers nums and an integer target, return the indices of the two numbers that add up to target.

EasyLikely
arrayhash-map

Memoize

Solve

Given a function fn, return a memoized version of that function.

MediumLikely

Best Time to Buy and Sell Stock

Solve

You are given an array prices where prices[i] is the price of a given stock on the ith day.

EasyLikely
arraydynamic-programming

Valid Palindrome

Solve

A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it reads the same forwa...

EasyLikely
two-pointersstring

Random Pick with Weight

Solve

You are given a 0-indexed array of positive integers w where w[i] describes the weight of the ith index.

MediumLikely
arraymathbinary-search

How often are these problems asked?

Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Shopee interviews.

Very Likely

75-100%

Likely

50-74%

Sometimes

25-49%

Rare

0-24%

Preparing for your Shopee coding interview

Shopee interviews focus heavily on array, linked-list, dynamic-programming problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.

Beyond solving problems, practice explaining your approach. Shopee interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.

Looking for more companies? Browse all 458 companies in our directory, or sharpen your fundamentals with our free data structure visualizers and AI-powered DSA tutor.

Frequently Asked Questions

What coding problems does Shopee ask in interviews?add

Shopee has been reported to ask 9 distinct coding problems. The most common topics are array, linked-list, dynamic-programming. 5 are Easy difficulty, 4 are Medium, and 0 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.

How hard are Shopee coding interviews?add

Based on 9 reported problems, Shopee interviews are easier than average - only 0% Hard compared to 18% across all companies. 44% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.

How should I prepare for a Shopee coding interview?add

Start with the highest-frequency problems listed on this page. Focus on the core topics: array, linked-list, dynamic-programming. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.

Other companies to explore

Ready to ace your Shopee interview?

Simulate a real Shopee coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.

Simulate a Shopee interview with AIarrow_forward