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 Solve β†’
2 Valid Parentheses Stack Solve β†’
3 Merge Intervals Sorting + Greedy Solve β†’
4 LRU Cache HashMap + DLL Solve β†’
5 Maximum Subarray Kadane’s Algorithm Solve β†’
6 Coin Change DP Solve β†’
7 Binary Search Binary Search Solve β†’
8 Linked List Cycle Fast and Slow Pointers Solve β†’
9 Group Anagrams HashMap + Sorting Solve β†’
10 Min Stack Stack Design Solve β†’

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

Free system design + DSA prep. If it helped you crack an interview, consider supporting.