0 day streak

Optum coding interview questions

Service and ITProduct India

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
Longest Common SubsequenceStrings Medium Dynamic Programming Google, Amazon, Apple +20 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +114 Solve
All O`one Data StructureLinked Lists Hard Design Data Structures Amazon, LinkedIn, TikTok (ByteDance) +3 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +101 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +114 Solve
Linked List Cycle IISlow Fast Pointers Medium Linked List Microsoft, Airbnb, Autodesk +21 Solve
Sum of Two IntegersBasics Medium Bit Manipulation Bloomberg, HP Inc., Swiggy +1 Solve
Burst BalloonsInterval DP Hard Dynamic Programming Google, UiPath, Goldman Sachs +4 Solve
Valid PalindromeTwo Pointer Easy Arrays & Hashing Microsoft, Meta, Apple +53 Solve
Climbing Stairs1D DP Easy Dynamic Programming Microsoft, Bloomberg, eBay +34 Solve
Fibonacci Number1D DP Easy Dynamic Programming Spotify, Instacart, Zillow +38 Solve
Sort an ArrayMerge Sort Like Approach Medium Arrays & Hashing Apple, Confluent, Salesforce +27 Solve
K-diff Pairs in an ArrayHashing Medium Arrays & Hashing Twilio, Brex, Wise +2 Solve
Count PrimesMath / Number Theory Medium Arrays & Hashing Databricks, Epic Systems, American Express +19 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +81 Solve
Intersection of Two ArraysTwo Pointer Easy Arrays & Hashing Meta, Lyft, MongoDB +13 Solve
Lowest Common Ancestor of a Binary TreeLCA Medium Trees & BST Google, Amazon, Microsoft +46 Solve
Find the Index of the First Occurrence in a StringString Matching (KMP) Easy Arrays & Hashing Dropbox, Zscaler, Discord +12 Solve
Middle of the Linked ListSlow Fast Pointers Easy Linked List Apple, Nvidia, X (Twitter) +29 Solve
Binary SearchBasics Easy Binary Search Zscaler, Rakuten, Nike +22 Solve
Letter Combinations of a Phone NumberChoice per Position Medium Recursion & Backtracking Amazon, Microsoft, Meta +25 Solve
Longest Palindromic SubstringStrings Medium Dynamic Programming Amazon, Microsoft, Apple +68 Solve
Sort ColorsDutch National Flag Medium Arrays & Hashing Microsoft, Nvidia, Expedia Group +43 Solve
Also reported, being added to AlgoRung (3)

Reverse Prefix of Word · Find Distance in a Binary Tree · Find Common Elements in Three Sorted Arrays

Questions people ask

What coding questions does Optum ask most?

Longest Common Subsequence, Two Sum, Longest Substring Without Repeating Characters, All O`one Data Structure, Kadane's Algorithm - Simple, Best Time to Buy and Sell Stock, Number of Islands, Linked List Cycle II.

Which topics come up in Optum coding rounds?

arrays, strings, dynamic programming, linked list, graphs, sliding window.

How hard are Optum coding questions?

Of the reported questions, 10 are easy, 13 medium and 2 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.