0 day streak

Snapdeal coding interview questions

E-commerce and consumer 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
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +82 Solve
Validate Binary Search TreePostorder + Multiple Return Values Medium Trees & BST Google, Microsoft, Meta +35 Solve
Next Greater Element IMonotonic Stack Easy Monotonic Stack Agoda, Akamai, Zynga +22 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
Diameter of Binary TreePostorder + Multiple Return Values Easy Trees & BST Google, Meta, DoorDash +22 Solve
Search in Rotated Sorted ArrayRotated Array Medium Binary Search Amazon, Microsoft, Apple +59 Solve
Merge k Sorted ListsMerge K Sorted Hard Heaps Google, Amazon, Microsoft +59 Solve
Reverse Nodes in k-GroupFront Middle Back Pointer Hard Linked List Amazon, Microsoft, Meta +33 Solve
Sort ColorsDutch National Flag Medium Arrays & Hashing Microsoft, Nvidia, Expedia Group +43 Solve
Remove Nth Node From End of ListFront Back Pointer Medium Linked List Meta, Apple, eBay +22 Solve
First Missing PositiveIn-place Transformations Hard Arrays & Hashing Amazon, Microsoft, Netflix +34 Solve
0 - 1 Knapsack ProblemKnapsack Medium Dynamic Programming Coinbase, Goldman Sachs, D. E. Shaw +13 Solve
Next PermutationRight to Left Traversal Medium Arrays & Hashing Google, Amazon, Microsoft +31 Solve
Valid ParenthesesStack Basics Easy Stack Google, Amazon, Microsoft +119 Solve
Rotate ImageIn-place Transformations Medium Arrays & Hashing Amazon, Apple, Nvidia +38 Solve
3SumTwo Sum Medium Arrays & Hashing Google, Amazon, Microsoft +68 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +81 Solve
Find Pivot IndexPrefix Sum Strategy Easy Arrays & Hashing Spotify, Tesla, Expedia Group +13 Solve
Maximum Depth of Binary TreeRecursion Easy Trees & BST LinkedIn, Spotify, Tesla +19 Solve
Binary Tree Inorder Traversal (Iterative)Recursion Easy Trees & BST Anduril, Intel, HPE +7 Solve
Second Largest Element in an ArraySorting Easy Arrays & Hashing Nutanix, Rakuten, Morgan Stanley +13 Solve
Also reported, being added to AlgoRung (4)

Longest Arithmetic Subsequence · Add Two Numbers II · Flattening a Linked List · Check if the Sentence Is Pangram

Questions people ask

What coding questions does Snapdeal ask most?

Group Anagrams, Validate Binary Search Tree, Next Greater Element I, Kadane's Algorithm - Simple, Diameter of Binary Tree, Search in Rotated Sorted Array, Merge k Sorted Lists, Reverse Nodes in k-Group.

Which topics come up in Snapdeal coding rounds?

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

How hard are Snapdeal coding questions?

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