0 day streak

Druva coding interview questions

Enterprise SaaSProduct 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
Palindrome Linked ListFront Middle Back Pointer Easy Linked List Meta, Spotify, Grab +14 Solve
Reverse Nodes in k-GroupFront Middle Back Pointer Hard Linked List Amazon, Microsoft, Meta +33 Solve
Merge Two Binary TreesRecursion Easy Trees & BST LinkedIn, MongoDB, Huawei +1 Solve
Reorganize StringGreedy Medium Arrays & Hashing Amazon, Apple, Pinterest +11 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
Maximum Sum Circular SubarrayKadane's Algorithm Medium Arrays & Hashing Activision Blizzard, Two Sigma, Klarna +7 Solve
Search in Rotated Sorted ArrayRotated Array Medium Binary Search Amazon, Microsoft, Apple +59 Solve
Simplify PathStack Basics Medium Stack Meta, Snowflake, Grab +11 Solve
Binary Tree Level Order TraversalTraversals Medium Trees & BST Microsoft, Apple, Netflix +24 Solve
Find First and Last Position of Element in Sorted ArrayBisect Medium Binary Search Meta, LinkedIn, Nvidia +29 Solve
Lowest Common Ancestor of a Binary TreeLCA Medium Trees & BST Google, Amazon, Microsoft +46 Solve
Minimum Number of Arrows to Burst BalloonsBasics Medium Intervals Expedia Group, Quora, Barclays +3 Solve
Top K Frequent WordsTop K / Kth Largest / Smallest Medium Heaps Google, Amazon, Bloomberg +17 Solve
Next PermutationRight to Left Traversal Medium Arrays & Hashing Google, Amazon, Microsoft +31 Solve
Min StackStack Medium Design Data Structures Microsoft, Apple, Snowflake +33 Solve
Fizz BuzzSimulation Easy Arrays & Hashing Nvidia, Spotify, Wayfair +11 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +81 Solve
Middle of the Linked ListSlow Fast Pointers Easy Linked List Apple, Nvidia, X (Twitter) +29 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Amazon, Microsoft +68 Solve
Sort an ArrayMerge Sort Like Approach Medium Arrays & Hashing Apple, Confluent, Salesforce +27 Solve
Tower of HanoiBasic Recursion Medium Recursion & Backtracking HP Inc., Societe Generale, MakeMyTrip +1 Solve
Sort ColorsDutch National Flag Medium Arrays & Hashing Microsoft, Nvidia, Expedia Group +43 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +101 Solve
Valid ParenthesesStack Basics Easy Stack Google, Amazon, Microsoft +119 Solve
Find Pivot IndexPrefix Sum Strategy Easy Arrays & Hashing Spotify, Tesla, Expedia Group +13 Solve
Also reported, being added to AlgoRung (5)

Number of Days Between Two Dates · Maximize Sum Of Array After K Negations · Sum of Left Leaves · Rod Cutting · Peak Index in a Mountain Array

Questions people ask

What coding questions does Druva ask most?

Palindrome Linked List, Reverse Nodes in k-Group, Merge Two Binary Trees, Reorganize String, Kadane's Algorithm - Simple, Maximum Sum Circular Subarray, Search in Rotated Sorted Array, Simplify Path.

Which topics come up in Druva coding rounds?

linked list, trees, arrays, strings, binary search, heaps.

How hard are Druva coding questions?

Of the reported questions, 9 are easy, 16 medium and 1 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.