0 day streak

Epic Games coding interview questions

Product Global

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Spiral MatrixMatrix Traversal Medium Arrays & Hashing Microsoft, Apple, Databricks +52 Solve
Is SubsequenceTwo Pointer Easy Arrays & Hashing Pinterest, Tesla, Electronic Arts +12 Solve
Sqrt(x)Search on Answer Range Easy Binary Search TikTok (ByteDance), Wayfair, Grammarly +15 Solve
Pascal's Triangle1D DP Easy Dynamic Programming Bloomberg, X (Twitter), JPMorgan Chase +7 Solve
Can Place FlowersGreedy Easy Arrays & Hashing LinkedIn, Nutanix, Yahoo +4 Solve
Kth Missing Positive NumberBisect Easy Binary Search Meta, Elastic, Adyen Solve
Closest Binary Search Tree ValueBST Basics Easy Trees & BST Roblox, Coupang, Adyen +3 Solve
Merge Two Sorted ListsDummy Node Pattern Easy Linked List Google, Amazon, Microsoft +60 Solve
Palindrome Linked ListFront Middle Back Pointer Easy Linked List Meta, Spotify, Grab +14 Solve
Range Sum of BSTBST Basics Easy Trees & BST Meta, Global Payments Solve
Moving Average from Data StreamQueue / Circular Buffer Easy Design Data Structures Meta, Spotify, Coinbase +9 Solve
Valid Palindrome IITwo Pointer Easy Arrays & Hashing Meta, Apple, Bloomberg +8 Solve
Check If N and Its Double ExistHash Set Lookup Easy Arrays & Hashing Elastic, Brex, FIS +2 Solve
Next PermutationRight to Left Traversal Medium Arrays & Hashing Google, Amazon, Microsoft +31 Solve
Longest Repeating Character ReplacementSliding Window · Variable Medium Arrays & Hashing Microsoft, Meta, Uber +13 Solve
Populating Next Right Pointers in Each NodeTraversals Medium Trees & BST Microsoft, Arcesium, Plaid +3 Solve
Custom Sort StringHashing Medium Arrays & Hashing Microsoft, Meta, Grab +1 Solve
Longest Consecutive SequenceHash Set Lookup Medium Arrays & Hashing Google, Amazon, Microsoft +34 Solve
Longest Subarray of 1's After Deleting One ElementSliding Window · Variable Medium Arrays & Hashing Elastic, Yandex, Adyen +1 Solve
Remove All Adjacent Duplicates in String IIStack Basics Medium Stack Amazon, Spotify, Twilio +10 Solve
Boundary of Binary TreeViews Medium Trees & BST Uber, Snowflake, Nutanix +10 Solve
Buildings With an Ocean ViewRight to Left Traversal Medium Arrays & Hashing Meta, Anduril, Goldman Sachs +2 Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Amazon, Microsoft +59 Solve
Design Hit CounterQueue / Circular Buffer Medium Design Data Structures Google, Apple, Uber +21 Solve
All Nodes Distance K in Binary TreeChild + Ancestor Handling Medium Trees & BST Amazon, Meta, Apple +14 Solve
Maximum Size Subarray Sum Equals kPrefix Sum Strategy Medium Arrays & Hashing Palantir, eBay, Arcesium +2 Solve
Find Peak ElementUnique 1-D Binary Search Medium Binary Search Meta, Netflix, Uber +26 Solve
Longest Increasing Subsequence1D DP Medium Dynamic Programming Google, Microsoft, TikTok (ByteDance) +29 Solve
Construct Quad TreeDivide and Conquer Medium Recursion & Backtracking Uber, Snowflake, Palantir +1 Solve
Check Completeness of a Binary TreeTraversals Medium Trees & BST Lyft, Snap, Activision Blizzard +1 Solve
Meeting Rooms IILine Sweep Medium Intervals Google, Amazon, Meta +50 Solve
Shortest Path in Binary MatrixBFS for shortest path Medium Graphs Google, Meta, Databricks +10 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +114 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
Clone GraphBFS / DFS Basics Medium Graphs Google, Microsoft, Meta +11 Solve
N-Queens2D Matrix Hard Recursion & Backtracking Netflix, TikTok (ByteDance), Elastic +17 Solve
Minimum Time to Visit a Cell In a GridDijkstra Hard Graphs Activision Blizzard, Atlassian, Global Payments +1 Solve
Number of Islands IIConnected Components Hard Graphs Amazon, Uber, Waymo +6 Solve
Median of Two Sorted ArraysBinary Search on Partition Hard Binary Search Google, Amazon, Microsoft +49 Solve
Longest Increasing Path in a MatrixTopological Sort Hard Graphs Google, Microsoft, Meta +9 Solve
Valid NumberSimulation Hard Arrays & Hashing Nutanix, eBay, Tripadvisor +1 Solve
Alien DictionaryTopological Sort Hard Graphs Google, Amazon, Microsoft +20 Solve
Also reported, being added to AlgoRung (7)

Goat Latin · Missing Ranges · Final Array State After K Multiplication Operations I · Insert into a Sorted Circular Linked List · Maximum Matrix Sum · Number of Ships in a Rectangle · Find Longest Self-Contained Substring

Questions people ask

What coding questions does Epic Games ask most?

Spiral Matrix, Is Subsequence, Sqrt(x), Pascal's Triangle, Can Place Flowers, Kth Missing Positive Number, Closest Binary Search Tree Value, Merge Two Sorted Lists.

Which topics come up in Epic Games coding rounds?

graphs, trees, arrays, binary search, sliding window, dynamic programming.

How hard are Epic Games coding questions?

Of the reported questions, 12 are easy, 23 medium and 7 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.