Skip to main content
⚑Curated Problem Library

CodeDose (DSA Sheet)

Topic-wise DSA roadmap, pattern-based interview problems, and clean code solutions in C++, Java, and Python for top product companies.

391Problems
16DSA Tracks
100%Free Solutions
πŸ“Š
40 Problems

Arrays

Subarray transformations, prefix sums, two-pointer strategies, and 2D matrix traversal.

Kadane'sPrefix SumsDutch Flag2D Matrices
Explore DSA Track
πŸ”€
20 Problems

Strings

Frequency hashing, palindrome algorithms, sliding substring windows, and string parsing.

AnagramsPalindromesSubstringsHashing
Explore DSA Track
πŸͺŸ
12 Problems

Two Pointers & Sliding Window

Optimal contiguous subarray windows, shrink-and-expand mechanics, and fast/slow pointer pairs.

Fixed WindowDynamic WindowTwo PointersShrink-Expand
Explore DSA Track
πŸ”
8 Problems

Binary Search

Logarithmic searching, monotonic answer spaces, rotated arrays, and lower/upper bounds.

Search on AnswerRotated ArraysBoundsMonotonicity
Explore DSA Track
πŸ”—
30 Problems

Linked List

Singly/doubly linked chains, cycle detection, in-place reversals, and multi-list merges.

Fast & SlowIn-Place ReverseCycle DetectionMerge K Lists
Explore DSA Track
πŸ₯ž
31 Problems

Stack and Queue

Monotonic stack patterns, next greater element, hardware queues, and LRU Cache design.

Monotonic StackNext GreaterMin StackLRU Cache
Explore DSA Track
πŸ”„
25 Problems

Recursion & Backtracking

Decision trees, combinatorial permutations, pruning heuristics, and constraint satisfaction.

SubsetsPermutationsN-QueensPruning
Explore DSA Track
πŸ“Ά
2 Problems

Sorting

Divide-and-conquer partition schemes, comparator sorting, and in-place stability.

Merge SortQuick SortComparatorsInversions
Explore DSA Track
🌲
35 Problems

Binary Trees

Hierarchical traversals, bottom-up subtree aggregations, tree diameter, and lowest common ancestor.

TraversalsLCADiameterMax Path Sum
Explore DSA Track
🌳
18 Problems

Binary Search Trees

Ordered binary search structures, validation, tree balancing, and successor recovery.

Inorder PropertyValidate BSTBST LCAKth Smallest
Explore DSA Track
⛰️
17 Problems

Heaps & Priority Queues

Min/max heap properties, streaming medians, top-K aggregations, and two-heap mechanics.

Top-K ElementsMerge K SortedMedian StreamTwo Heaps
Explore DSA Track
πŸ’°
14 Problems

Greedy Algorithms

Locally optimal decision making, interval scheduling, exchange arguments, and optimization.

Interval SchedulingJump GameGas StationKnapsack
Explore DSA Track
🧩
54 Problems

Dynamic Programming

Optimal substructure, overlapping states, memoization, grid paths, and space-optimized tabulation.

0/1 KnapsackLCS & LISGrid PathsState Machines
Explore DSA Track
πŸ•ΈοΈ
48 Problems

Graphs

Adjacency structures, BFS/DFS, shortest paths (Dijkstra), topological ordering, and Disjoint Set Union.

BFS & DFSDijkstraKahn's TopoDisjoint Set (DSU)
Explore DSA Track
βš™οΈ
19 Problems

Bit Manipulation

Bitwise boolean operations, masks, power-of-two tests, XOR cancellations, and compact state sets.

BitmasksXOR TricksPower of TwoBit Subsets
Explore DSA Track
πŸ”€
2 Problems

Tries

Prefix-tree retrieval, autocomplete structures, character branching, and bitwise XOR queries.

Prefix SearchAutocompleteMax XOR PairWildcard
Explore DSA Track
πŸš€ Level Up Your Engineering Mindset

Never Study in Isolation. Join Binary Dose.

Connect with fellow engineers, clear conceptual doubts, and get 2 visual breakdowns & engineering mental models daily across our community channels.

Discord
Official Hub

Discord Community

Start at #welcome-and-rules, say hello in #general-chat, clear doubts, and collaborate with engineers worldwide.

Join Discord Server→
⚑
Daily Knowledge Drops

Daily Visual Deep-Dives

Bite-sized system design schematics, core OS internals, and DSA intuition served right into your feeds every single day.

πŸ’‘Have handwritten notes, cheat-sheets, or want to publish a technical article?
Learn How to Contribute→