DRW Interview Questions — 9 DSA Problems
5 problems with full solutions in Python, Java, C++, JavaScript, Go, Rust.
Most frequently asked DRW LeetCode questions for software engineering interviews.
- Subsequence of Size K With the Largest Even Sum (MEDIUM) — Array, Greedy, Sorting
- Counting Elements (EASY) — Array, Hash Table
- Maximize Score After Pair Deletions (MEDIUM) — Array, Greedy
- Best Time to Buy and Sell Stock (EASY) — Array, Dynamic Programming
- Remove Duplicate Letters (MEDIUM) — String, Stack, Greedy, Monotonic Stack
- Minimum Fuel Cost to Report to the Capital (MEDIUM) — Tree, Depth-First Search, Breadth-First Search, Graph
- Reorder Routes to Make All Paths Lead to the City Zero (MEDIUM) — Depth-First Search, Breadth-First Search, Graph
- Maximal Network Rank (MEDIUM) — Graph
- Robot Room Cleaner (HARD) — Backtracking, Interactive
D
DRW
9 questions tracked5 with solutions
Frequency scoreSorted highest → lowest frequency✓ Our Solution = we have a detailed walkthrough
Showing 9 of 9 questions
1MediumSubsequence of Size K With the Largest Even Sum
ArrayGreedySorting
2EasyCounting Elements
ArrayHash Table
3MediumMaximize Score After Pair Deletions
ArrayGreedy
5StringStackGreedyMonotonic Stack
6TreeDepth-First SearchBreadth-First SearchGraph
7MediumReorder Routes to Make All Paths Lead to the City Zero✓ Our Solution Depth-First SearchBreadth-First SearchGraph
9HardRobot Room Cleaner
BacktrackingInteractive