← All DSA Sheets

Striver · takeUforward

Striver’s A2Z DSA Sheet

A structured journey from programming fundamentals to advanced DSA.

402 practice entries · Source checked

0 / 402 completed0%
About this source edition

Practice-problem snapshot · 20 Sep 2026; theory lessons excluded

“Source checked” is when this edition was retrieved, not a claim that the creator updated it then.

Original sheet ↗Dataset source ↗

Beginner Problems

0 / 60

Patterns

0 / 22
DoneProblemLevelPracticeVideo
Pattern 1 —Open ↗
Pattern 2 —Open ↗
Pattern 3 —Open ↗
Pattern 4 —Open ↗
Pattern 5 —Open ↗
Pattern 6 —Open ↗
Pattern 7 —Open ↗
Pattern 8 —Open ↗
Pattern 9 —Open ↗
Pattern 10 —Open ↗
Pattern 11 —Open ↗
Pattern 12 —Open ↗
Pattern 13 —Open ↗
Pattern 14 —Open ↗
Pattern 15 —Open ↗
Pattern 16 —Open ↗
Pattern 17 —Open ↗
Pattern 18 —Open ↗
Pattern 19 —Open ↗
Pattern 20 —Open ↗
Pattern 21 —Open ↗
Pattern 22 —Open ↗

Basic Maths

0 / 13
DoneProblemLevelPracticeVideo
Count all Digits of a Number EasyOpen ↗
Count number of odd digits in a number —Open ↗—
Reverse a number MediumOpen ↗
Palindrome Number EasyOpen ↗
Return the Largest Digit in a Number —Open ↗—
Factorial of a given number —Open ↗
Check if the Number is Armstrong May require a platform subscriptionEasyOpen ↗
Check for Perfect Number EasyOpen ↗—
Check for Prime Number EasyOpen ↗
Count of Prime Numbers till N —Open ↗—
GCD of Two Numbers —Open ↗
LCM of two numbers EasyOpen ↗—
Divisors of a Number EasyOpen ↗

Basic Arrays

0 / 4
DoneProblemLevelPracticeVideo
Sum of Array Elements —Open ↗—
Count of odd numbers in Array —Open ↗—
Check if the Array is Sorted I EasyOpen ↗—
Reverse an array EasyOpen ↗

Basic Hashing

0 / 3
DoneProblemLevelPracticeVideo
Highest Occurring Element in an Array MediumOpen ↗—
Second Highest Occurring Element —Open ↗—
Sum of Highest and Lowest Frequency —Open ↗—

Basic Strings

0 / 8
DoneProblemLevelPracticeVideo
Reverse a String II —Open ↗—
Palindrome Check —Open ↗—
Largest Odd Number in a String EasyOpen ↗—
Longest Common Prefix EasyOpen ↗—
Isomorphic Strings EasyOpen ↗—
Rotate String EasyOpen ↗—
Valid Anagram EasyOpen ↗—
Sort Characters by Frequency MediumOpen ↗—

Basic Recursion

0 / 10
DoneProblemLevelPracticeVideo
Sum of First N Numbers EasyOpen ↗
Factorial of a Given Number —Open ↗—
Sum of Array Elements II —Open ↗—
Reverse a String I —Open ↗—
Check if String is Palindrome or Not EasyOpen ↗
Check if a Number is Prime or Not —Open ↗—
Reverse an array 2 —Open ↗—
Check if the Array is Sorted II EasyOpen ↗
Sum of Digits in a Given Number EasyOpen ↗—
Fibonacci Number EasyOpen ↗

Sorting

0 / 5

Algorithms

0 / 5
DoneProblemLevelPracticeVideo
Selection Sort EasyOpen ↗
Bubble Sort EasyOpen ↗
Insertion Sorting EasyOpen ↗
Merge Sorting MediumOpen ↗
Quick Sorting MediumOpen ↗

Arrays

0 / 32

Fundamentals

0 / 6
DoneProblemLevelPracticeVideo
Linear Search —Open ↗
Largest Element —Open ↗
Second Largest Element EasyOpen ↗
Maximum Consecutive Ones EasyOpen ↗
Left Rotate Array by One MediumOpen ↗
Left Rotate Array by K Places MediumOpen ↗

Logic Building

0 / 5
DoneProblemLevelPracticeVideo
Move Zeros to End EasyOpen ↗
Remove duplicates from sorted array EasyOpen ↗
Find missing number —Open ↗—
Union of two sorted arrays MediumOpen ↗
Intersection of two sorted arrays EasyOpen ↗—

FAQs(Medium)

0 / 15
DoneProblemLevelPracticeVideo
Majority Element-I EasyOpen ↗
Leaders in an Array EasyOpen ↗
Rearrange array elements by sign MediumOpen ↗
Print the matrix in spiral manner MediumOpen ↗
Pascal's Triangle I EasyOpen ↗
Pascal's Triangle II MediumOpen ↗—
Pascal's Triangle III —Open ↗—
Rotate matrix by 90 degrees MediumOpen ↗
Set Matrix Zeroes MediumOpen ↗
Two Sum EasyOpen ↗
3 Sum MediumOpen ↗
4 Sum MediumOpen ↗
Sort an array of 0's 1's and 2's MediumOpen ↗
Kadane's Algorithm MediumOpen ↗
Next Permutation MediumOpen ↗

FAQs(Hard)

0 / 6
DoneProblemLevelPracticeVideo
Majority Element-II MediumOpen ↗
Find the repeating and missing number EasyOpen ↗
Count Inversions MediumOpen ↗
Reverse Pairs HardOpen ↗
Maximum Product Subarray in an Array MediumOpen ↗—
Merge two sorted arrays without extra space EasyOpen ↗

Hashing

0 / 5

FAQs

0 / 5
DoneProblemLevelPracticeVideo
Longest Consecutive Sequence in an Array MediumOpen ↗
Longest subarray with sum K MediumOpen ↗
Largest Subarray with Sum 0 MediumOpen ↗
Count subarrays with given sum MediumOpen ↗
Count subarrays with given xor K MediumOpen ↗

Binary Search

0 / 31

Fundamentals

0 / 3
DoneProblemLevelPracticeVideo
Search X in sorted array EasyOpen ↗
Lower Bound EasyOpen ↗
Upper Bound EasyOpen ↗

Logic Building

0 / 8
DoneProblemLevelPracticeVideo
Search insert position EasyOpen ↗
Floor and Ceil in Sorted Array MediumOpen ↗
First and last occurrence MediumOpen ↗
Search in rotated sorted array-I MediumOpen ↗
Search in rotated sorted array-II MediumOpen ↗
Find minimum in Rotated Sorted Array MediumOpen ↗
Find out how many times the array is rotated —Open ↗
Single element in sorted array MediumOpen ↗

On answers

0 / 8
DoneProblemLevelPracticeVideo
Find square root of a number EasyOpen ↗
Find Nth root of a number MediumOpen ↗
Find the smallest divisor MediumOpen ↗
Koko eating bananas MediumOpen ↗
Minimum days to make M bouquets MediumOpen ↗
Capacity to Ship Packages Within D Days MediumOpen ↗
Kth Missing Positive Number EasyOpen ↗
Painter's Partition HardOpen ↗

FAQs

0 / 7
DoneProblemLevelPracticeVideo
Aggressive Cows MediumOpen ↗
Book Allocation Problem MediumOpen ↗
Find peak element MediumOpen ↗
Median of 2 sorted arrays HardOpen ↗
Kth element of 2 sorted arrays MediumOpen ↗
Minimize Max Distance to Gas Station May require a platform subscriptionHardOpen ↗
Split array - largest sum HardOpen ↗

2D Arrays

0 / 5
DoneProblemLevelPracticeVideo
Find row with maximum 1's —Open ↗
Search in a 2D Matrix MediumOpen ↗
Search in 2D matrix - II MediumOpen ↗
Find Peak Element - II MediumOpen ↗
Matrix Median MediumOpen ↗

Recursion

0 / 17

Implementation Problems

0 / 3
DoneProblemLevelPracticeVideo
Pow(x,n) MediumOpen ↗
Generate Parentheses MediumOpen ↗—
Power Set MediumOpen ↗

Subsequence Pattern Problems

0 / 2
DoneProblemLevelPracticeVideo
Check if there exists a subsequence with sum K MediumOpen ↗—
Count all subsequences with sum K MediumOpen ↗—

FAQs (Medium)

0 / 5
DoneProblemLevelPracticeVideo
Combination Sum MediumOpen ↗
Combination Sum II MediumOpen ↗
Subsets I MediumOpen ↗
Subsets II MediumOpen ↗
Combination Sum III MediumOpen ↗—

Hard

0 / 1
DoneProblemLevelPracticeVideo
Letter Combinations of a Phone Number MediumOpen ↗—

FAQs (Hard)

0 / 6
DoneProblemLevelPracticeVideo
Palindrome partitioning MediumOpen ↗
Word Search MediumOpen ↗—
N Queen HardOpen ↗
Rat in a Maze MediumOpen ↗
M Coloring Problem MediumOpen ↗
Sudoku Solver HardOpen ↗

Linked-List

0 / 39

Fundamentals (Single LL)

0 / 9
DoneProblemLevelPracticeVideo
Traversal in Linked List —Open ↗—
Deletion of the head of LL MediumOpen ↗
Deletion of the tail of Linked List EasyOpen ↗—
Deletion of the Kth element of Linked List —Open ↗—
Delete the element with value X —Open ↗—
Insertion at the head of Linked List —Open ↗
Insertion at the tail of Linked List —Open ↗—
Insertion at the Kth position of Linked List —Open ↗—
Insertion before the value X in Linked List —Open ↗—

Fundamentals (Doubly LL)

0 / 8
DoneProblemLevelPracticeVideo
Convert Array to Doubly Linked List EasyOpen ↗—
Delete Tail of Doubly Linked List —Open ↗—
Delete Kth Element of Doubly Linked List —Open ↗—
Removing given node in Doubly Linked List —Open ↗—
Insert node before head in Doubly Linked List —Open ↗
Insert node before tail in Doubly Linked List —Open ↗—
Insert node before (kth node) in Doubly Linked List —Open ↗—
Insert before given node in Doubly Linked List —Open ↗—

Logic Building

0 / 5
DoneProblemLevelPracticeVideo
Add two numbers in Linked List MediumOpen ↗
Segregate odd and even nodes in Linked List MediumOpen ↗
Sort a Linked List of 0's 1's and 2's MediumOpen ↗
Remove Nth node from the back of the LL MediumOpen ↗
Reverse a LL EasyOpen ↗

FAQs (Medium)

0 / 8
DoneProblemLevelPracticeVideo
Add one to a number represented by LL —Open ↗
Find Middle of Linked List EasyOpen ↗
Delete the middle node in LL MediumOpen ↗
Check if LL is palindrome or not EasyOpen ↗
Find the intersection point of Y LL EasyOpen ↗
Detect a loop in LL EasyOpen ↗
Find the starting point in LL MediumOpen ↗
Length of loop in LL MediumOpen ↗

FAQs (Hard)

0 / 6
DoneProblemLevelPracticeVideo
Reverse LL in group of given size K HardOpen ↗
Rotate a LL MediumOpen ↗
Merge two Sorted Lists EasyOpen ↗
Flattening of LL MediumOpen ↗
Sort LL MediumOpen ↗
Clone a LL with random and next pointer MediumOpen ↗

FAQS (DLL)

0 / 3
DoneProblemLevelPracticeVideo
Delete all occurrences of a key in DLL MediumOpen ↗
Remove duplicates from sorted DLL EasyOpen ↗
Find Pairs with Given Sum in Doubly Linked List EasyOpen ↗

Bit Manipulation

0 / 7

Problems

0 / 7
DoneProblemLevelPracticeVideo
Minimum Bit Flips to Convert Number EasyOpen ↗
Single Number - I EasyOpen ↗
Single Number - II —Open ↗—
Single Number - III —Open ↗
Divide two numbers without multiplication and division MediumOpen ↗
Power Set Bit Manipulation MediumOpen ↗
XOR of numbers in a given range EasyOpen ↗

Greedy Algorithms

0 / 14

Easy

0 / 4
DoneProblemLevelPracticeVideo
Assign Cookies EasyOpen ↗
Lemonade Change EasyOpen ↗
Fractional Knapsack EasyOpen ↗
Jump Game - I MediumOpen ↗

Scheduling and Interval Problems

0 / 7
DoneProblemLevelPracticeVideo
Shortest Job First MediumOpen ↗
Job sequencing Problem MediumOpen ↗
N meetings in one room MediumOpen ↗
Non-overlapping Intervals MediumOpen ↗
Insert Interval MediumOpen ↗
Merge Intervals MediumOpen ↗
Minimum number of platforms required for a railway MediumOpen ↗

Hard

0 / 3
DoneProblemLevelPracticeVideo
Valid Paranthesis Checker MediumOpen ↗
Candy HardOpen ↗
Jump Game II MediumOpen ↗

Sliding Window / 2 Pointer

0 / 11

Constant Window

0 / 1
DoneProblemLevelPracticeVideo
Maximum Points You Can Obtain from Cards MediumOpen ↗

Longest and Smallest Window Problems

0 / 6
DoneProblemLevelPracticeVideo
Longest Substring Without Repeating Characters MediumOpen ↗
Max Consecutive Ones III MediumOpen ↗
Fruit Into Baskets MediumOpen ↗
Longest Substring With At Most K Distinct Characters May require a platform subscriptionMediumOpen ↗
Longest Repeating Character Replacement MediumOpen ↗
Minimum Window Substring HardOpen ↗

Counting Subarrays / Substrings Problems

0 / 4
DoneProblemLevelPracticeVideo
Number of Substrings Containing All Three Characters MediumOpen ↗
Binary Subarrays With Sum MediumOpen ↗
Count number of Nice subarrays MediumOpen ↗
Subarrays with K Different Integers HardOpen ↗

Stack / Queues

0 / 22

Implementation

0 / 7
DoneProblemLevelPracticeVideo
Implement Stack using Arrays EasyOpen ↗
Implement Queue using Arrays —Open ↗
Implement Stack using Queue EasyOpen ↗
Implement Queue using Stack EasyOpen ↗
Implement stack using Linkedlist EasyOpen ↗
Implement queue using Linkedlist —Open ↗
Balanced Paranthesis EasyOpen ↗

Monotonic Stack

0 / 6
DoneProblemLevelPracticeVideo
Next Greater Element EasyOpen ↗
Next Greater Element - 2 MediumOpen ↗
Asteroid Collision MediumOpen ↗
Sum of Subarray Minimums MediumOpen ↗
Sum of Subarray Ranges MediumOpen ↗
Remove K Digits MediumOpen ↗

FAQs

0 / 9
DoneProblemLevelPracticeVideo
Implement Min Stack MediumOpen ↗
Sliding Window Maximum HardOpen ↗
Trapping Rainwater HardOpen ↗
Largest rectangle in a histogram HardOpen ↗
Maximum Rectangles HardOpen ↗
Stock span problem MediumOpen ↗
Celebrity Problem May require a platform subscriptionMediumOpen ↗
LRU Cache MediumOpen ↗—
LFU Cache HardOpen ↗

Binary Trees

0 / 31

Theory/Traversals

0 / 5
DoneProblemLevelPracticeVideo
Inorder Traversal EasyOpen ↗
Preorder Traversal EasyOpen ↗
Postorder Traversal EasyOpen ↗
Level Order Traversal MediumOpen ↗
Pre, Post, Inorder in one traversal —Open ↗

Medium Problems

0 / 7
DoneProblemLevelPracticeVideo
Maximum Depth in BT EasyOpen ↗
Check if two trees are identical or not EasyOpen ↗
Check for balanced binary tree EasyOpen ↗
Diameter of Binary Tree EasyOpen ↗
Maximum path sum HardOpen ↗
Check for symmetrical BTs EasyOpen ↗
Children Sum Property in Binary Tree MediumOpen ↗

FAQs

0 / 13
DoneProblemLevelPracticeVideo
Zig Zag or Spiral Traversal MediumOpen ↗
Boundary Traversal May require a platform subscriptionMediumOpen ↗
Vertical Order Traversal HardOpen ↗
Top View of BT MediumOpen ↗
Bottom view of BT MediumOpen ↗
Right/Left View of BT MediumOpen ↗
Print root to leaf path in BT MediumOpen ↗
LCA in BT MediumOpen ↗
Maximum Width of BT MediumOpen ↗
Print all nodes at a distance of K in BT MediumOpen ↗
Minimum time taken to burn the BT from a given Node —Open ↗
Count total nodes in a complete BT MediumOpen ↗
Flatten Binary Tree to Linked List MediumOpen ↗

Construction Problems

0 / 4
DoneProblemLevelPracticeVideo
Requirements needed to construct a unique BT —Open ↗
Construct a BT from Preorder and Inorder MediumOpen ↗
Construct a BT from Postorder and Inorder MediumOpen ↗
Serialize and De-serialize BT HardOpen ↗

Traversal in Constant Space

0 / 2
DoneProblemLevelPracticeVideo
Morris Inorder Traversal EasyOpen ↗
Morris Preorder Traversal EasyOpen ↗

Binary Search Trees

0 / 13

Theory and Basics

0 / 2
DoneProblemLevelPracticeVideo
Search in BST EasyOpen ↗
Floor and Ceil in a BST —Open ↗

Medium

0 / 7
DoneProblemLevelPracticeVideo
Insert a given node in BST MediumOpen ↗
Delete a node in BST MediumOpen ↗
Kth Smallest and Largest element in BST MediumOpen ↗
Check if a tree is a BST or not MediumOpen ↗
LCA in BST MediumOpen ↗
Construct a BST from a preorder traversal MediumOpen ↗
Inorder successor and predecessor in BST May require a platform subscriptionMediumOpen ↗

FAQs

0 / 4
DoneProblemLevelPracticeVideo
BST iterator MediumOpen ↗
Two sum in BST EasyOpen ↗
Correct BST with two nodes swapped MediumOpen ↗
Largest BST in Binary Tree HardOpen ↗

Heaps

0 / 9

Theory and Implementation

0 / 8
DoneProblemLevelPracticeVideo
Heapify Algorithm —Open ↗—
Build heap from a given Array EasyOpen ↗—
Implement Min Heap EasyOpen ↗—
Implement Max Heap EasyOpen ↗—
Check if an array represents a min heap —Open ↗—
Convert Min Heap to Max Heap MediumOpen ↗—
Heap Sort MediumOpen ↗—
K-th Largest element in an array —Open ↗—

FAQs

0 / 1
DoneProblemLevelPracticeVideo
Kth largest element in a stream of running integers EasyOpen ↗—

Graphs

0 / 42

Theory and traversals

0 / 2
DoneProblemLevelPracticeVideo
Traversal Techniques —Open ↗
Connected Components MediumOpen ↗—

Traversal Problems

0 / 8
DoneProblemLevelPracticeVideo
Number of provinces MediumOpen ↗
Number of islands MediumOpen ↗
Flood fill algorithm EasyOpen ↗—
Number of enclaves MediumOpen ↗
Rotten Oranges MediumOpen ↗
Distance of nearest cell having one MediumOpen ↗
Surrounded Regions MediumOpen ↗
Number of distinct islands MediumOpen ↗—

Cycles

0 / 4
DoneProblemLevelPracticeVideo
Detect a cycle in an undirected graph MediumOpen ↗
Bipartite graph MediumOpen ↗
Topological sort or Kahn's algorithm MediumOpen ↗
Detect a cycle in a directed graph MediumOpen ↗

Hard Problems

0 / 8
DoneProblemLevelPracticeVideo
Find eventual safe states MediumOpen ↗
Course Schedule I MediumOpen ↗
Course Schedule II MediumOpen ↗
Alien Dictionary May require a platform subscriptionHardOpen ↗
Shortest path in DAG MediumOpen ↗
Shortest path in undirected graph with unit weights —Open ↗
Word ladder I HardOpen ↗
Word ladder II HardOpen ↗

Shortest Path Algorithms

0 / 10
DoneProblemLevelPracticeVideo
Dijkstra's algorithm MediumOpen ↗
Print Shortest Path MediumOpen ↗—
Shortest Distance in a Binary Maze MediumOpen ↗
Path with minimum effort MediumOpen ↗
Cheapest flight within K stops MediumOpen ↗
Minimum multiplications to reach end MediumOpen ↗
Number of ways to arrive at destination MediumOpen ↗
Bellman ford algorithm MediumOpen ↗
Floyd warshall algorithm MediumOpen ↗
Find the city with the smallest number of neighbors MediumOpen ↗

Minimum Spanning Tree

0 / 2
DoneProblemLevelPracticeVideo
Disjoint Set MediumOpen ↗
Find the MST weight —Open ↗

Hard Problems II

0 / 5
DoneProblemLevelPracticeVideo
Number of operations to make network connected MediumOpen ↗
Accounts merge MediumOpen ↗
Number of islands II May require a platform subscriptionHardOpen ↗
Making a large island HardOpen ↗
Most stones removed with same row or column MediumOpen ↗

Additional Algorithms

0 / 3
DoneProblemLevelPracticeVideo
Kosaraju's algorithm HardOpen ↗
Bridges in graph HardOpen ↗
Articulation point in graph HardOpen ↗

Dynamic Programming

0 / 47

1D DP

0 / 5
DoneProblemLevelPracticeVideo
Climbing stairs EasyOpen ↗
Frog Jump MediumOpen ↗
Frog jump with K distances MediumOpen ↗
Maximum sum of non adjacent elements MediumOpen ↗
House robber MediumOpen ↗

2D DP

0 / 1
DoneProblemLevelPracticeVideo
Ninja's training MediumOpen ↗

DP on grids

0 / 5
DoneProblemLevelPracticeVideo
Grid unique paths MediumOpen ↗
Unique paths II MediumOpen ↗
Minimum Falling Path Sum MediumOpen ↗
Triangle MediumOpen ↗
Cherry pickup II HardOpen ↗—

DP on stocks

0 / 5
DoneProblemLevelPracticeVideo
Best time to buy and sell stock EasyOpen ↗
Best time to buy and sell stock II MediumOpen ↗
Best time to buy and sell stock III HardOpen ↗
Best time to buy and sell stock IV HardOpen ↗
Best time to buy and sell stock with transaction fees MediumOpen ↗

DP on subsequences

0 / 11
DoneProblemLevelPracticeVideo
Subset sum equals to target MediumOpen ↗
Partition equal subset sum MediumOpen ↗
Partition a set into two subsets with minimum absolute sum difference HardOpen ↗
Count subsets with sum K MediumOpen ↗
Count partitions with given difference MediumOpen ↗
0 and 1 Knapsack MediumOpen ↗
Minimum coins MediumOpen ↗
Target sum MediumOpen ↗
Coin change II MediumOpen ↗
Unbounded knapsack MediumOpen ↗
Rod cutting problem MediumOpen ↗

LIS

0 / 6
DoneProblemLevelPracticeVideo
Longest Increasing Subsequence MediumOpen ↗
Print Longest Increasing Subsequence —Open ↗
Largest Divisible Subset MediumOpen ↗
Longest String Chain MediumOpen ↗
Longest Bitonic Subsequence MediumOpen ↗
Number of Longest Increasing Subsequences MediumOpen ↗

DP on strings

0 / 9
DoneProblemLevelPracticeVideo
Longest common subsequence MediumOpen ↗
Longest common substring MediumOpen ↗
Longest palindromic subsequence MediumOpen ↗
Minimum insertions to make string palindrome HardOpen ↗
Minimum insertions or deletions to convert string A to B MediumOpen ↗
Shortest common supersequence HardOpen ↗
Distinct subsequences HardOpen ↗
Edit distance MediumOpen ↗
Wildcard matching HardOpen ↗

MCM DP

0 / 5
DoneProblemLevelPracticeVideo
Matrix chain multiplication HardOpen ↗
Burst balloons HardOpen ↗
Palindrome partitioning II HardOpen ↗
Partition Array for Maximum Sum MediumOpen ↗
Different Ways to Evaluate a Boolean Expression HardOpen ↗

Tries

0 / 6

Theory

0 / 2
DoneProblemLevelPracticeVideo
Trie Implementation and Operations MediumOpen ↗
Trie Implementation and Advanced Operations —Open ↗—

Problems

0 / 4
DoneProblemLevelPracticeVideo
Longest Word with All Prefixes MediumOpen ↗
Number of distinct substrings in a string MediumOpen ↗
Maximum XOR of two numbers in an array MediumOpen ↗
Maximum Xor with an element from an array HardOpen ↗

Strings (Advanced Algo)

0 / 8

Medium Problems

0 / 3
DoneProblemLevelPracticeVideo
Reverse every word in a string MediumOpen ↗—
Minimum number of bracket reversals to make an expression balanced MediumOpen ↗—
Count and say MediumOpen ↗—

Advanced Problems (Less asked)

0 / 5
DoneProblemLevelPracticeVideo
Rabin Karp Algorithm MediumOpen ↗—
Z function EasyOpen ↗—
KMP Algorithm or LPS array EasyOpen ↗—
Shortest Palindrome HardOpen ↗—
Longest happy prefix HardOpen ↗—

Maths

0 / 3

Sieve of Eratosthenes

0 / 3
DoneProblemLevelPracticeVideo
Print all primes till N —Open ↗—
Prime factorisation of a Number —Open ↗
Count primes in range L to R MediumOpen ↗