0 day streak

Elastic coding interview questions

Enterprise SaaSProduct 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
Basic Calculator IIStack Basics Medium Stack Meta, Apple, Airbnb +18 Solve
Zero Array Transformation IIIAdvanced Medium Heaps Red Hat, Plaid, Klarna +1 Solve
Accounts MergeConnected Components Medium Graphs Stripe, Pinterest, Palantir +12 Solve
Remove All Adjacent Duplicates In StringStack Basics Easy Stack Grammarly, JPMorgan Chase, Deloitte +6 Solve
Linked List CycleSlow Fast Pointers Easy Linked List Microsoft, Apple, Nvidia +67 Solve
Subsets (2 choices per element)Pick / Not-Pick Medium Recursion & Backtracking Bloomberg, Reddit, Agoda +9 Solve
Minimum Window SubstringSliding Window · Hash Map Hard Arrays & Hashing Google, Amazon, Microsoft +37 Solve
N-Queens2D Matrix Hard Recursion & Backtracking Netflix, TikTok (ByteDance), Epic Games +17 Solve
Evaluate DivisionConnected Components Medium Graphs Amazon, Apple, Uber +17 Solve
Product of Array Except SelfRight to Left Traversal Medium Arrays & Hashing Amazon, Microsoft, Meta +37 Solve
Course ScheduleTopological Sort Medium Graphs Google, Amazon, Microsoft +42 Solve
Capacity To Ship Packages Within D DaysBinary Search on Answer Space Medium Binary Search Amazon, Snap, Expedia Group +7 Solve
Invalid TransactionsHashing Medium Arrays & Hashing Stripe, Bloomberg, Wix +1 Solve
Shortest Word Distance IIPre-processing + tradeoffs Medium Design Data Structures LinkedIn, Palantir, Anduril +4 Solve
Valid PalindromeTwo Pointer Easy Arrays & Hashing Microsoft, Meta, Apple +53 Solve
Maximum Depth of Binary TreeRecursion Easy Trees & BST LinkedIn, Spotify, Tesla +19 Solve
Binary Tree Right Side ViewViews Medium Trees & BST Google, Meta, TikTok (ByteDance) +16 Solve
Coin Change IIKnapsack Medium Dynamic Programming Apple, UiPath, Salesforce +7 Solve
Kth Missing Positive NumberBisect Easy Binary Search Meta, Epic Games, Adyen Solve
Best Time to Buy and Sell Stock IVState Machine DP - Stock Problems Hard Dynamic Programming Citadel, Plaid, Societe Generale +3 Solve
Longest Subarray of 1's After Deleting One ElementSliding Window · Variable Medium Arrays & Hashing Epic Games, Yandex, Adyen +1 Solve
Lowest Common Ancestor of a Binary Tree IIILCA Medium Trees & BST Meta, LinkedIn, Spotify +2 Solve
Integer to English WordsSimulation Hard Arrays & Hashing Meta, Snowflake, Palantir +17 Solve
Remove All Adjacent Duplicates in String IIStack Basics Medium Stack Amazon, Spotify, Twilio +10 Solve
Maximum SwapRight to Left Traversal Medium Arrays & Hashing Meta, TikTok (ByteDance), Klarna +2 Solve
Check If N and Its Double ExistHash Set Lookup Easy Arrays & Hashing Epic Games, Brex, FIS +2 Solve
Merge Sorted ArrayTwo Pointer Easy Arrays & Hashing Meta, Apple, Nvidia +40 Solve
Find First and Last Position of Element in Sorted ArrayBisect Medium Binary Search Meta, LinkedIn, Nvidia +29 Solve
Also reported, being added to AlgoRung (3)

Maximize Amount After Two Days of Conversions · Goat Latin · Maximum Beauty of an Array After Applying Operation

Questions people ask

What coding questions does Elastic ask most?

Basic Calculator II, Zero Array Transformation III, Accounts Merge, Remove All Adjacent Duplicates In String, Linked List Cycle, Subsets (2 choices per element), Minimum Window Substring, N-Queens.

Which topics come up in Elastic coding rounds?

strings, arrays, graphs, stack, binary search, trees.

How hard are Elastic coding questions?

Of the reported questions, 7 are easy, 17 medium and 4 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.