Paytm Coding Interview Questions: 16 Tagged Problems
16 coding problems tagged Paytm — 4 easy · 12 medium — with solutions in 13 languages. Plus a 2-week study plan by topic.
- Problems: 16
- By difficulty: 4 easy · 12 medium
- 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
16 problems the CodeKairo catalogue tags as commonly asked in Paytm's coding rounds — 4 easy and 12 medium, no hard ones — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (11), Hash Table (4) and Breadth-First Search (3). The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Paytm, which CodeKairo is not affiliated with.
Paytm study plan by topic
All 16 problems tagged Paytm over 2 weeks, about 8 h 20 min of solving, grouped by technique in the order they build on each other — Counting, Math, Two Pointers and Sliding Window and 8 more.
Week 1: Counting, Math, Two Pointers +6
12 problems on Counting, Math, Two Pointers, Sliding Window, Prefix Sum, Monotonic Stack, Simulation, Greedy and Heap, easiest first within each topic.
- Find Players With Zero or One Losses Medium
- Number of Zero-Filled Subarrays Medium
- Count Ways to Tile a 2 x N Floor Easy
- Rearrange Array in Max/Min Form Medium
- Alternating Groups I Easy
- Longest Substring with At Most K Distinct Characters Medium
- Longest Subarray With Sum Zero Medium
- Find the Student That Will Replace the Chalk Medium
- Next Greater Frequency Element Medium
- Watering Plants II Medium
- Eliminate Maximum Number of Monsters Medium
- Maximal Score After Applying K Operations Medium
Week 2: Trees, Union Find, Dynamic Programming
4 problems on Trees, Union Find and Dynamic Programming, easiest first within each topic.
All problems tagged Paytm
Easy (4)
- Check if All Leaves are at Same Level Tree, Depth-First Search, Breadth-First Search
- Left View of Binary Tree Tree, Breadth-First Search, Depth-First Search
- Count Ways to Tile a 2 x N Floor Math, Dynamic Programming
- Alternating Groups I Array, Sliding Window
Medium (12)
- Longest Repeating Subsequence String, Dynamic Programming
- Next Greater Frequency Element Array, Hash Table, Stack
- Maximal Score After Applying K Operations Array, Greedy, Heap (Priority Queue)
- Maximum Number of Fish in a Grid Array, Matrix, Depth-First Search
- Eliminate Maximum Number of Monsters Array, Greedy, Sorting
- Find the Student That Will Replace the Chalk Array, Binary Search, Prefix Sum
- Longest Substring with At Most K Distinct Characters String, Hash Table, Sliding Window
- Watering Plants II Array, Two Pointers, Simulation
- Number of Zero-Filled Subarrays Array, Math, Counting
- Find Players With Zero or One Losses Hash Table, Array, Sorting
- Rearrange Array in Max/Min Form Array, Two Pointers
- Longest Subarray With Sum Zero Array, Hash Table, Prefix Sum
Topics Paytm asks most
- Arrays 11 problems
- Hash Table 4 problems
- Breadth-First Search 3 problems
- Depth-First Search 3 problems
- Strings 2 problems
- Counting 2 problems
- Math 2 problems
- Two Pointers 2 problems
- Sliding Window 2 problems
- Prefix Sum 2 problems
- Sorting 2 problems
- Simulation 2 problems