Skip to content
The DSA Woodshed
Practice
Library
Method
Project
Start
Mode
Light
Dark
System
✓
Search the Woodshed
Search the Woodshed library and practice material. Results update as you type.
The DSA Woodshed
Practice
Library
Method
Project
Start
Algorithms
Arrays
Backtracking
Bit Manipulation
Dynamic Programming
Graphs
Greedy
Heaps
Linked Lists
Math
Patterns
Recursion
Searching
Sliding Window
Sorting
Stacks & Queues
Strings
Trees
Two Pointers
Mode
Light
Dark
System
✓
The DSA Woodshed
/
Algorithms
/
Math
Math
Is Prime
Check whether one integer is prime
Sieve Of Eratosthenes
Sieve of Eratosthenes: all primes up to n