Razorpay Interview Prep

Razorpay’s loop for SDE-2+ includes DSA, machine coding (90 min), system design, and a hiring manager round. As a fintech company, system design questions lean heavily toward payment processing, transaction correctness, and idempotency. They expect candidates to understand double-entry bookkeeping, saga patterns, and exactly-once semantics without prompting.


HLD Problems Asked at Razorpay

# Problem Difficulty Link
1 Digital Wallet (PhonePe / Venmo) Advanced Read →
2 Rate Limiter Beginner Read →
3 Notification System Intermediate Read →
4 Distributed Job Scheduler Advanced Read →
5 Delayed Trigger Service Advanced Read →

LLD Problems Asked at Razorpay

# Problem Difficulty Link
1 Parking Lot Beginner Read →
2 Splitwise Intermediate Read →
3 Snake and Ladder Intermediate Read →

DSA Problems Frequently Asked at Razorpay

# Problem Pattern Link
1 Two Sum HashMap LeetCode →
2 Valid Parentheses Stack LeetCode →
3 Merge Intervals Sorting + Greedy LeetCode →
4 LRU Cache HashMap + DLL LeetCode →
5 Maximum Subarray Kadane’s Algorithm LeetCode →
6 Coin Change DP LeetCode →
7 Binary Search Binary Search LeetCode →
8 Linked List Cycle Fast and Slow Pointers LeetCode →
9 Group Anagrams HashMap + Sorting LeetCode →
10 Min Stack Stack Design LeetCode →

Tips for Razorpay Interviews

  1. Fintech correctness is non-negotiable. In system design, always address idempotency, double-entry ledgers, and reconciliation. “What happens if the payment gateway times out?” is guaranteed.
  2. Machine coding round is heavy. Razorpay’s LLD round expects Strategy pattern, clean interfaces, and extensibility. Practice Splitwise or Parking Lot end-to-end in 90 minutes.
  3. Know distributed transactions. Saga pattern, two-phase commit (and why it’s impractical), compensating transactions — these are core to Razorpay’s domain.
  4. DSA is standard medium. Focus on implementation quality: handle nulls, validate inputs, name variables well. Razorpay values code readability as much as correctness.

Other Company Prep

💬 Comments