PubMatic Interview Questions — 3 DSA Problems
2 problems with full solutions in Python, Java, C++, JavaScript, Go, Rust.
Most frequently asked PubMatic LeetCode questions for software engineering interviews.
- Longest Common Prefix (EASY) — String, Trie
- Trapping Rain Water (HARD) — Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack
- Meeting Rooms II (MEDIUM) — Array, Two Pointers, Greedy, Sorting, Heap (Priority Queue), Prefix Sum
P
PubMatic
3 questions tracked2 with solutions
Frequency scoreSorted highest → lowest frequency✓ Our Solution = we have a detailed walkthrough
Showing 3 of 3 questions
2ArrayTwo PointersDynamic ProgrammingStack+1
3MediumMeeting Rooms II
ArrayTwo PointersGreedySorting+2