0 day streak

PayU coding interview questions

Fintech 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
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
Valid ParenthesesStack Basics Easy Stack Google, Amazon, Microsoft +119 Solve
Binary Tree Right Side ViewViews Medium Trees & BST Google, Meta, TikTok (ByteDance) +16 Solve
Binary Tree Zigzag Level Order TraversalTraversals Medium Trees & BST Amazon, LinkedIn, Nutanix +23 Solve
Longest Repeating Character ReplacementSliding Window · Variable Medium Arrays & Hashing Microsoft, Meta, Uber +13 Solve
Linked List CycleSlow Fast Pointers Easy Linked List Microsoft, Apple, Nvidia +67 Solve
Reverse Linked ListFront Middle Back Pointer Easy Linked List Microsoft, Apple, Bloomberg +81 Solve
Merge Two Sorted ListsDummy Node Pattern Easy Linked List Google, Amazon, Microsoft +60 Solve
Binary SearchBasics Easy Binary Search Zscaler, Rakuten, Nike +22 Solve
Best Time to Buy and Sell StockState Machine DP - Stock Problems Easy Dynamic Programming Amazon, Microsoft, Apple +101 Solve
Two SumTwo Sum Easy Arrays & Hashing Google, Amazon, Microsoft +135 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
Construct Binary Tree from Preorder and Inorder TraversalTree Serialization / Deserialization Medium Trees & BST Microsoft, TikTok (ByteDance), eBay +9 Solve
Valid AnagramHashing Easy Arrays & Hashing Netflix, Databricks, Bloomberg +42 Solve
Max StackStack Hard Design Data Structures LinkedIn, Spotify, Nutanix +8 Solve
Implement Trie (Prefix Tree)Basics Medium Tries Google, Microsoft, Meta +25 Solve
Binary Tree Level Order TraversalTraversals Medium Trees & BST Microsoft, Apple, Netflix +24 Solve
Reverse Words in a StringDouble Reversal Trick Medium Arrays & Hashing Microsoft, Nvidia, Snap +38 Solve
Rotate StringString Basics Easy Arrays & Hashing Zoom, Rivian, ServiceNow +6 Solve
Climbing Stairs1D DP Easy Dynamic Programming Microsoft, Bloomberg, eBay +34 Solve
String to Integer (atoi)Simulation Medium Arrays & Hashing Amazon, Apple, Netflix +17 Solve
First Unique Character in a StringHashing Easy Arrays & Hashing Databricks, Nutanix, Snap +28 Solve
Trapping Rain WaterTwo Pointer Hard Arrays & Hashing Google, Amazon, Microsoft +88 Solve
Sort ColorsDutch National Flag Medium Arrays & Hashing Microsoft, Nvidia, Expedia Group +43 Solve
Meeting Rooms IIILine Sweep Hard Intervals Google, Uber, Pinterest Solve
Subdomain Visit CountHashing Medium Arrays & Hashing Pinterest, Wayfair, Roblox +3 Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Amazon, Microsoft +59 Solve
Also reported, being added to AlgoRung (7)

Pythagorean Triplet in an Array · Count Operations to Obtain Zero · Maximize the Minimum Powered City · Count Possible Ways to Construct Buildings · Segregate 0s and 1s in an Array · Reorder an Array According to Given Indexes · Remove Minimum Elements from Either Side Such That 2*min Becomes More Than max

Questions people ask

What coding questions does PayU ask most?

Diameter of Binary Tree, Search in Rotated Sorted Array, Valid Parentheses, Binary Tree Right Side View, Binary Tree Zigzag Level Order Traversal, Longest Repeating Character Replacement, Linked List Cycle, Reverse Linked List.

Which topics come up in PayU coding rounds?

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

How hard are PayU coding questions?

Of the reported questions, 12 are easy, 13 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.