Razorpay Coding Interview Questions: 14 Tagged Problems
14 coding problems tagged Razorpay — 2 easy · 11 medium · 1 hard — with solutions in 13 languages. Plus a 2-week study plan by topic.
- Problems: 14
- By difficulty: 2 easy · 11 medium · 1 hard
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
14 problems the CodeKairo catalogue tags as commonly asked in Razorpay's coding rounds — 2 easy, 11 medium and 1 hard — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (8), Two Pointers (5) and Binary Search (5). The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Razorpay, which CodeKairo is not affiliated with.
Razorpay study plan by topic
All 14 problems tagged Razorpay over 2 weeks, about 7 h 55 min of solving, grouped by technique in the order they build on each other — Math, Two Pointers, Sliding Window and Binary Search and 6 more.
Week 1: Math, Two Pointers, Sliding Window +5
12 problems on Math, Two Pointers, Sliding Window, Binary Search, Queue, Monotonic Stack, Intervals and Recursion, easiest first within each topic.
- Excel Sheet Column Number Easy
- Container With Most Water Medium
- Rotate Array Medium
- Successful Pairs of Spells and Potions Medium
- Separate Black and White Balls Medium
- Maximum Points You Can Obtain from Cards Medium
- Most Beautiful Item for Each Query Medium
- Two Best Non-Overlapping Events Medium
- First Unique Character in a String Easy
- Shortest Subarray to be Removed to Make Array Sorted Medium
- Merge Intervals Medium
- Decode String Medium
Week 2: Number Theory, Combinatorics
2 problems on Number Theory and Combinatorics, easiest first within each topic.
- Smallest Good Base Hard
- Unique Paths Medium
All problems tagged Razorpay
Easy (2)
- First Unique Character in a String Hash Table, String, Queue
- Excel Sheet Column Number Math, String
Medium (11)
- Two Best Non-Overlapping Events Array, Binary Search, Dynamic Programming
- Shortest Subarray to be Removed to Make Array Sorted Array, Two Pointers, Binary Search
- Most Beautiful Item for Each Query Array, Binary Search, Sorting
- Separate Black and White Balls String, Greedy, Two Pointers
- Successful Pairs of Spells and Potions Array, Binary Search, Sorting
- Maximum Points You Can Obtain from Cards Array, Sliding Window, Prefix Sum
- Merge Intervals Array, Sorting, Intervals
- Unique Paths Math, Dynamic Programming, Combinatorics
- Decode String String, Stack, Recursion
- Container With Most Water Array, Two Pointers, Greedy
- Rotate Array Array, Math, Two Pointers
Hard (1)
- Smallest Good Base Math, Binary Search, Number Theory
Topics Razorpay asks most
- Arrays 8 problems
- Two Pointers 5 problems
- Binary Search 5 problems
- Strings 4 problems
- Math 4 problems
- Sorting 4 problems
- Greedy 2 problems
- Dynamic Programming 2 problems
- Hash Table 1 problem
- Counting 1 problem
- Sliding Window 1 problem
- Prefix Sum 1 problem