0 day streak

Cisco coding interview questions

Big techProduct Global Machine coding / LLD

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
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
LRU CacheLinked Lists Medium Design Data Structures Google, Amazon, Microsoft +49 Solve
Shortest Path in a Grid with Obstacles EliminationBFS for shortest path Hard Graphs Databricks, Pinterest, Adobe +1 Solve
Contiguous ArrayPrefix Sum Strategy Medium Arrays & Hashing Morgan Stanley, PayPal, Tower Research Capital +1 Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Microsoft, Apple +31 Solve
LFU CacheLinked Lists Hard Design Data Structures Amazon, Apple, Netflix +10 Solve
House RobberAlternate Selection / Pick / Not pick Medium Dynamic Programming Airbnb, Nvidia, Databricks +13 Solve
Count and SaySimulation Medium Arrays & Hashing Pinterest Solve
Summary RangesTwo Pointer Easy Arrays & Hashing Netflix Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +50 Solve
Collect Coins in a TreeTopological Sort Hard Graphs PhonePe, Meesho Solve
Longest Palindromic SubstringStrings Medium Dynamic Programming Amazon, Microsoft, Apple +22 Solve
Word Search IITrie + Backtracking Hard Tries Google, Uber, Airbnb +3 Solve
Rotate ImageIn-place Transformations Medium Arrays & Hashing Amazon, Apple, Nvidia +14 Solve
Spiral MatrixMatrix Traversal Medium Arrays & Hashing Microsoft, Apple, Databricks +15 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Microsoft, Apple, LinkedIn +29 Solve
Fizz BuzzSimulation Easy Arrays & Hashing Nvidia, Spotify, IBM Solve
Diagonal TraverseMatrix Traversal Medium Arrays & Hashing Microsoft, Meta, Media.net Solve
Edit DistanceStrings Medium Dynamic Programming Google, Intuit, Samsung +6 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +46 Solve
Valid ParenthesesStack Basics Easy Stack Google, Microsoft, Meta +39 Solve
Linked List CycleSlow Fast Pointers Easy Linked List Microsoft, Apple, Goldman Sachs +16 Solve
Add Two NumbersDummy Node Pattern Medium Linked List Amazon, Microsoft, Meta +12 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Microsoft, Meta +31 Solve
Max Points on a LineHashing Hard Arrays & Hashing LinkedIn, Meesho Solve
Happy NumberSlow Fast Pointers Easy Linked List Airbnb, Snowflake, Tesla +4 Solve
Decode StringStack Basics Medium Stack Google, Amazon, Microsoft +8 Solve
Remove Duplicates from Sorted ArrayTwo Pointer Easy Arrays & Hashing Microsoft, Bloomberg, Morgan Stanley +8 Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +45 Solve
Merge Sorted ArrayTwo Pointer Easy Arrays & Hashing Meta, Apple, Nvidia +12 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +38 Solve
Number of IslandsConnected Components Medium Graphs Google, Amazon, Microsoft +41 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +17 Solve
Insert Delete GetRandom O(1)Hash Map + Array Medium Design Data Structures Amazon, Apple, Netflix +13 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +31 Solve
Also reported, being added to AlgoRung (12)

Implement Router · Power Grid Maintenance · Lucky Numbers in a Matrix · Sum of k-Mirror Numbers · Minimum Cost to Make Array Equal · Number of Valid Words in a Sentence · Number of Equal Count Substrings · Find the Largest Area of Square Inside Two Rectangles · Check if Binary String Has at Most One Segment of Ones · Minimum Sensors to Cover Grid · Minimum Time to Collect All Apples in a Tree · Maximum Difference Between Increasing Elements

Questions people ask

What coding questions does Cisco ask most?

LRU Cache, Shortest Path in a Grid with Obstacles Elimination, Contiguous Array, Container With Most Water, LFU Cache, House Robber, Count and Say, Summary Ranges.

Which topics come up in Cisco coding rounds?

arrays, strings, linked list, trees, graphs, dynamic programming.

How hard are Cisco coding questions?

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