Back to Practice Mode

Coding Problems

923+ problems to sharpen your skills. Filter by difficulty and find your next challenge.

Showing 923 of 923 problems

Actors and Directors

Easy

Add Binary

Easy

Add Digits

Easy

Add Strings

Easy

Add to Array-Form of Integer

Easy

Ads Performance

Easy

Array Partition

Easy

Article Views I

Easy

Assign Cookies

Easy

Average of Levels in Binary Tree

Easy

Average Salary By Department

Easy

Backspace String Compare

Easy

Balanced Binary Tree

Easy

Base 7

Easy

Baseball Game

Easy

Best Time to Buy and Sell Stock

Easy

Big Countries

Easy

Biggest Single Number

Easy

Binary Gap

Easy

Binary Search

Easy

Binary Tree Paths

Easy

Binary Watch

Easy

Calculate Digit Sum of a String

Easy

Calculate Special Bonus

Easy

Can Make Arithmetic Progression

Easy

Can Make Arithmetic Progression From Sequence

Easy

Can Place Flowers

Easy

Capitalize the Title

Easy

Cells with Odd Values

Easy

Check if Array Is Sorted and Rotated

Easy

Check If N and Its Double Exist

Easy

Check if the Sentence Is Pangram

Easy

Check If Two String Arrays are Equivalent

Easy

Classes More Than 5 Students

Easy

Climbing Stairs

Easy

Combine Two Tables

Easy

Complement of Base 10 Integer

Easy

Construct the Rectangle

Easy

Contains Duplicate

Easy

Contains Duplicate II

Easy

Convert Binary Number in Linked List

Easy

Convert Sorted Array to BST

Easy

Convert Temperature

Easy

Count Asterisks

Easy

Count Binary Substrings

Easy

Count Elements With Strictly Smaller and Greater Elements

Easy

Count Employees Per Department

Easy

Count Equal and Divisible Pairs

Easy

Count Equal and Divisible Pairs in Array

Easy

Count Good Triplets

Easy

Count Items Matching a Rule

Easy

Count Largest Group

Easy

Count Negative Numbers in a Sorted Matrix

Easy

Count Negative Numbers in Matrix

Easy

Count Negatives in Sorted Matrix

Easy

Count Odd Numbers in an Interval Range

Easy

Count Odd Numbers in Range

Easy

Count Prefixes of a Given String

Easy

Count the Number of Consistent Strings

Easy

Count Vowel Substrings

Easy

Counting Bits

Easy

Cousins in Binary Tree

Easy

Crawler Log Folder

Easy

Create Target Array in Given Order

Easy

Customers Without Orders

Easy

Daily Leads and Partners

Easy

Day of the Week

Easy

Day of the Year

Easy

Decode the Message

Easy

Decode XORed Array

Easy

Decompress Run-Length Encoded List

Easy

Defanging an IP Address

Easy

Defuse the Bomb

Easy

Degree of an Array

Easy

Delete Columns to Make Sorted

Easy

Delete Duplicate Emails

Easy

Design HashMap

Easy

Design HashSet

Easy

Design Parking System

Easy

Destination City

Easy

Detect Capital

Easy

Detect Cycle in Linked List

Easy

Diameter of Binary Tree

Easy

Divide a String Into Groups of Size k

Easy

Divide Array Into Equal Pairs

Easy

Divisor Game

Easy

Element Appearing More Than 25% In Sorted Array

Easy

Employees and Bonus

Easy

Employees Earning More Than Managers

Easy

Employees in Unique Department

Easy

Employees With High Salary

Easy

Excel Sheet Column Number

Easy

Excel Sheet Column Title

Easy

Fibonacci Number

Easy

Final Prices With a Special Discount

Easy

Final Value of Variable After Operations

Easy

Find All Numbers Disappeared in an Array

Easy

Find Center of Star Graph

Easy

Find Closest Number to Zero

Easy

Find Common Characters

Easy

Find Customer Referee

Easy

Find Duplicate Emails

Easy

Find Kth Largest in Stream

Easy

Find Lucky Integer in an Array

Easy

Find Mode in BST

Easy

Find Numbers with Even Number of Digits

Easy

Find Pivot Index

Easy

Find Target Indices After Sorting Array

Easy

Find Team Size

Easy

Find the Difference

Easy

Find the Difference of Two Arrays

Easy

Find the Highest Altitude

Easy

Find the Index of the First Occurrence

Easy

Find the Town Judge

Easy

Find Winner on Tic Tac Toe

Easy

Find Words Formed by Characters

Easy

First Bad Version

Easy

First Unique Character in a String

Easy

First Unique Character in String

Easy

Fix Names in a Table

Easy

Fizz Buzz

Easy

Flipping an Image

Easy

Flood Fill

Easy

Game Play Analysis

Easy

Goal Parser Interpretation

Easy

Goat Latin

Easy

Group Sold Products

Easy

Guess Number Higher or Lower

Easy

Hamming Distance

Easy

Happy Number

Easy

Happy Number Sequence

Easy

How Many Numbers Are Smaller

Easy

How Many Numbers Are Smaller Than Current

Easy

Image Smoother

Easy

Implement Queue using Stacks

Easy

Increasing BST Order

Easy

Increasing Decreasing String

Easy

Increasing Order Search Tree

Easy

Intersection of Two Arrays

Easy

Intersection of Two Arrays II

Easy

Invalid Tweets

Easy

Invert Binary Tree

Easy

Is Subsequence

Easy

Island Perimeter

Easy

Isomorphic Strings

Easy

Keyboard Row

Easy

Kids With the Greatest Number of Candies

Easy

Kth Largest Element in a Stream

Easy

Kth Missing Positive Number

Easy

Largest 3-Same-Digit Number

Easy

Largest Local Values in a Matrix

Easy

Largest Number At Least Twice Others

Easy

Largest Odd Number in String

Easy

Largest Subarray Length K

Easy

Last Stone Weight

Easy

Leaf-Similar Trees

Easy

Left and Right Sum Differences

Easy

Lemonade Change

Easy

Length of Last Word

Easy

License Key Formatting

Easy

Linked List Cycle

Easy

Logger Rate Limiter

Easy

Longest Common Prefix

Easy

Longest Harmonious Subsequence

Easy

Longest Palindrome

Easy

Lucky Numbers in Matrix

Easy

Majority Element

Easy

Make The String Great

Easy

Make Two Arrays Equal by Reversing

Easy

Matrix Diagonal Sum

Easy

Max Consecutive Ones

Easy

Maximum 69 Number

Easy

Maximum Ascending Subarray Sum

Easy

Maximum Average Subarray I

Easy

Maximum Depth of Binary Tree

Easy

Maximum Depth of N-ary Tree

Easy

Maximum Number of Words in a Sentence

Easy

Maximum Population Year

Easy

Maximum Repeating Substring

Easy

Maximum Units on a Truck

Easy

Maximum Value of a String in an Array

Easy

Meeting Rooms

Easy

Merge Similar Items

Easy

Merge Sorted Array

Easy

Merge Strings Alternately

Easy

Merge Two Binary Trees

Easy

Merge Two Sorted Arrays

Easy

Merge Two Sorted Lists

Easy

Middle of Linked List

Easy

Min Cost Climbing Stairs

Easy

Minimum Absolute Difference

Easy

Minimum Absolute Difference in BST

Easy

Minimum Bit Flips

Easy

Minimum Changes To Make Alternating Binary String

Easy

Minimum Depth of Binary Tree

Easy

Minimum Distance Between BST Nodes

Easy

Minimum Index Sum of Two Lists

Easy

Minimum Recolors to Get K Consecutive Black Blocks

Easy

Minimum Subsequence in Non-Increasing Order

Easy

Minimum Time Visiting All Points

Easy

Missing Number

Easy

Missing Number (XOR)

Easy

Monotonic Array

Easy

Most Common Word

Easy

Most Frequent Even Element

Easy

Move Zeroes

Easy

Moving Average from Data Stream

Easy

N-ary Tree Postorder Traversal

Easy

N-ary Tree Preorder Traversal

Easy

N-th Tribonacci Number

Easy

Next Greater Element I

Easy

Not Boring Movies

Easy

Number of 1 Bits

Easy

Number of Equivalent Domino Pairs

Easy

Number of Good Pairs

Easy

Number of Recent Calls

Easy

Number of Rectangles That Can Form Largest Square

Easy

Number of Students Unable to Eat Lunch

Easy

Order By Two Columns

Easy

Palindrome Linked List

Easy

Palindrome Number

Easy

Pascal's Triangle

Easy

Path Sum

Easy

Patients With a Condition

Easy

Percentage of Letter in String

Easy

Perfect Number

Easy

Plus One

Easy

Plus One (Large Number)

Easy

Power of Four

Easy

Power of Three

Easy

Power of Two

Easy

Product Sales Analysis

Easy

Queries Quality and Percentage

Easy

Range Addition II

Easy

Range Sum of BST

Easy

Range Sum Query - Immutable

Easy

Ransom Note

Easy

Reformat Date

Easy

Reformat Phone Number

Easy

Relative Ranks

Easy

Relative Sort Array

Easy

Remove All Adjacent Duplicates In String

Easy

Remove Duplicates from Sorted Array

Easy

Remove Element

Easy

Remove Outermost Parentheses

Easy

Repeated Substring Pattern

Easy

Replace Elements with Greatest on Right

Easy

Reshape the Matrix

Easy

Reverse Bits

Easy

Reverse Integer

Easy

Reverse Linked List

Easy

Reverse String

Easy

Reverse Vowels of a String

Easy

Reverse Words in a String III

Easy

Reverse Words in String III

Easy

Richest Customer Wealth

Easy

Rising Temperature

Easy

Robot Return to Origin

Easy

Roman to Integer

Easy

Running Sum of 1d Array

Easy

Sales Person

Easy

Same Tree

Easy

Search Insert Position

Easy

Select All Employees

Easy

Self Dividing Numbers

Easy

Set Mismatch

Easy

Shuffle String

Easy

Shuffle the Array

Easy

Sign of the Product of an Array

Easy

Single Number

Easy

Single-Row Keyboard

Easy

Slowest Key

Easy

Smallest Even Multiple

Easy

Sort Array By Parity

Easy

Sort Array By Parity II

Easy

Sort Integers by Number of 1 Bits

Easy

Sort Integers by The Number of 1 Bits

Easy

Special Array With X Elements >= X

Easy

Special Positions in a Binary Matrix

Easy

Split a String in Balanced Strings

Easy

Sqrt(x)

Easy

Sqrt(x) - Newton's Method

Easy

Squares of a Sorted Array

Easy

Squares of Sorted Array

Easy

Strong Password Checker II

Easy

Student Attendance Record I

Easy

Subtract Product and Sum

Easy

Subtree of Another Tree

Easy

Sum of All Odd Length Subarrays

Easy

Sum of Left Leaves

Easy

Sum of Multiples

Easy

Sum of Root To Leaf Binary Numbers

Easy

Sum of Unique Elements

Easy

Swap Salary

Easy

Symmetric Tree

Easy

Teemo Attacking

Easy

Third Maximum Number

Easy

Thousand Separator

Easy

Three Consecutive Odds

Easy

Time Needed to Buy Tickets

Easy

To Lower Case

Easy

Toeplitz Matrix

Easy

Top Travellers

Easy

Transpose Matrix

Easy

Triangle Judgement

Easy

Truncate Sentence

Easy

Two Out of Three

Easy

Two Sum

Easy

Two Sum IV - Input is a BST

Easy

Two Sum Less Than K

Easy

Ugly Number

Easy

Unique Number of Occurrences

Easy

Univalued Binary Tree

Easy

User Activity Count

Easy

Valid Anagram

Easy

Valid Mountain Array

Easy

Valid Palindrome

Easy

Valid Palindrome II

Easy

Valid Parentheses

Easy

Valid Perfect Square

Easy

Verifying an Alien Dictionary

Easy

Word Pattern

Easy

132 Pattern

Medium

3Sum

Medium

3Sum Closest

Medium

4Sum

Medium

Accounts Merge

Medium

Add One Row to Tree

Medium

Add Two Numbers

Medium

Add Two Numbers (Linked List)

Medium

Advantage Shuffle

Medium

All Nodes Distance K in Binary Tree

Medium

All Paths From Source to Target

Medium

Amount of Time for Binary Tree to Be Infected

Medium

Arithmetic Slices

Medium

Array Nesting

Medium

Asteroid Collision

Medium

Average Waiting Time

Medium

Avoid Flood in The City

Medium

Bag of Tokens

Medium

Basic Calculator II

Medium

Battleships in a Board

Medium

Beautiful Arrangement

Medium

Best Time to Buy and Sell Stock with Cooldown

Medium

Best Time to Buy and Sell Stock with Transaction Fee

Medium

Binary Search Tree to Greater Sum Tree

Medium

Binary Subarrays With Sum

Medium

Binary Tree Level Order Traversal

Medium

Binary Tree Right Side View

Medium

Binary Tree Zigzag Level Order Traversal

Medium

Bitwise AND of Numbers Range

Medium

Boats to Save People

Medium

Boundary of Binary Tree

Medium

Brick Wall

Medium

Broken Calculator

Medium

Build an Array With Stack Operations

Medium

Bulb Switcher

Medium

Bulb Switcher III

Medium

Bulls and Cows

Medium

Capacity To Ship Packages Within D Days

Medium

Car Fleet

Medium

Car Pooling

Medium

Champagne Tower

Medium

Cheapest Flights Within K Stops

Medium

Check If a String Can Break Another String

Medium

Check Knight Tour Configuration

Medium

Circular Permutation in Binary

Medium

Clone Graph

Medium

Closest Nodes Queries in a Binary Search Tree

Medium

Coin Change

Medium

Coin Change II

Medium

Combination Sum

Medium

Combination Sum II

Medium

Combination Sum III

Medium

Compare Version Numbers

Medium

Complex Number Multiplication

Medium

Consecutive Numbers

Medium

Construct Binary Tree from Inorder and Postorder

Medium

Construct Binary Tree from Preorder and Inorder

Medium

Construct Binary Tree from Preorder and Inorder Traversal

Medium

Construct BST from Preorder

Medium

Construct BST from Preorder Traversal

Medium

Construct Quad Tree

Medium

Construct Smallest Number From DI String

Medium

Container With Most Water

Medium

Contiguous Array

Medium

Continuous Subarray Sum

Medium

Convert Binary Search Tree to Sorted Doubly Linked List

Medium

Convert Sorted List to Binary Search Tree

Medium

Convert Sorted List to BST

Medium

Copy List with Random Pointer

Medium

Count and Say

Medium

Count Battleships

Medium

Count Complete Tree Nodes

Medium

Count Good Nodes in Binary Tree

Medium

Count Nodes With the Highest Score

Medium

Count Number of Nice Subarrays

Medium

Count Numbers with Unique Digits

Medium

Count Pairs in Two Arrays

Medium

Count Primes

Medium

Count Servers that Communicate

Medium

Count Sorted Vowel Strings

Medium

Count Subarrays With Max Element Appearing K Times

Medium

Count Substrings That Differ by One Character

Medium

Count Vowel Strings in Ranges

Medium

Course Schedule

Medium

Course Schedule II

Medium

Cumulative Sum of Sales

Medium

Daily Temperatures

Medium

Decode String

Medium

Decode Ways

Medium

Decoded String at Index

Medium

Delete and Earn

Medium

Delete Node in a BST

Medium

Delete Node in Linked List

Medium

Delete Nodes And Return Forest

Medium

Delete Operation for Two Strings

Medium

Department Highest Salary

Medium

Design Add and Search Words Data Structure

Medium

Design Browser History

Medium

Design Circular Queue

Medium

Design File System

Medium

Design Hit Counter

Medium

Design Leaderboard

Medium

Design Linked List

Medium

Design Tic-Tac-Toe

Medium

Design Twitter

Medium

Design Underground System

Medium

Detect Squares

Medium

Determine if Two Strings Are Close

Medium

Diagonal Traverse

Medium

Distant Barcodes

Medium

Distribute Coins in Binary Tree

Medium

Divide Two Integers

Medium

Dota2 Senate

Medium

Encode and Decode Strings

Medium

Equal Row and Column Pairs

Medium

Escape The Ghosts

Medium

Evaluate Reverse Polish Notation

Medium

Exam Room

Medium

Factorial Trailing Zeroes

Medium

Find a Peak Element II (2D)

Medium

Find All Anagrams in a String

Medium

Find All Duplicates in an Array

Medium

Find All Duplicates in Array

Medium

Find All Lonely Numbers

Medium

Find And Replace in String

Medium

Find Bottom Left Tree Value

Medium

Find Duplicate Subtrees

Medium

Find Eventual Safe States

Medium

Find First and Last Position of Element

Medium

Find Gaps in Sequence

Medium

Find K Closest Elements

Medium

Find K Pairs with Smallest Sums

Medium

Find Minimum in Rotated Sorted Array

Medium

Find Original Array From Doubled

Medium

Find Peak Element

Medium

Find Right Interval

Medium

Find the Celebrity

Medium

Find the Duplicate Number

Medium

Find the Most Competitive Subsequence

Medium

Find the Winner of the Circular Game

Medium

Flatten a Multilevel Doubly Linked List

Medium

Flatten Binary Tree to Linked List

Medium

Flatten Nested List Iterator

Medium

Flip Binary Tree To Match Preorder

Medium

Flip Columns For Maximum Number of Equal Rows

Medium

Flower Planting With No Adjacent

Medium

Fraction to Recurring Decimal

Medium

Fruit Into Baskets

Medium

Furthest Building You Can Reach

Medium

Game of Life

Medium

Gas Station

Medium

Generate Parentheses

Medium

Generate Random Point in a Circle

Medium

Get Equal Substrings Within Budget

Medium

Global and Local Inversions

Medium

Graph Valid Tree

Medium

Group Anagrams

Medium

Grumpy Bookstore Owner

Medium

H-Index

Medium

H-Index II

Medium

Hand of Straights

Medium

House Robber

Medium

House Robber II

Medium

House Robber III

Medium

Immediate Food Delivery

Medium

Implement Trie (Prefix Tree)

Medium

Increasing Triplet Subsequence

Medium

Inorder Successor in BST

Medium

Insert Delete GetRandom O(1)

Medium

Insert Interval

Medium

Integer Break

Medium

Integer to Roman

Medium

Interleaving String

Medium

Jump Game

Medium

Jump Game II

Medium

K Closest Points to Origin

Medium

K-diff Pairs in an Array

Medium

K-th Symbol in Grammar

Medium

Keys and Rooms

Medium

Knight Probability in Chessboard

Medium

Koko Eating Bananas

Medium

Kth Largest Element in an Array

Medium

Kth Smallest Element in a BST

Medium

Kth Smallest Element in a Sorted Matrix

Medium

Kth Smallest Element in Sorted Matrix

Medium

Largest Number

Medium

Largest Sum of Averages

Medium

Last Moment Before All Ants Fall Out

Medium

Length of Longest Fibonacci Subsequence

Medium

Letter Case Permutation

Medium

Letter Combinations of a Phone Number

Medium

Linked List in Binary Tree

Medium

Linked List Random Node

Medium

Longest Arithmetic Subsequence

Medium

Longest Common Subsequence

Medium

Longest Consecutive Sequence

Medium

Longest Increasing Subsequence

Medium

Longest Nice Subarray

Medium

Longest Palindrome by Concatenating Two Letter Words

Medium

Longest Palindromic Subsequence

Medium

Longest Palindromic Substring

Medium

Longest Repeating Character Replacement

Medium

Longest Repeating Substring

Medium

Longest String Chain

Medium

Longest Subarray of 1s After Deleting One Element

Medium

Longest Substring with At Most K Distinct Characters

Medium

Longest Substring Without Repeating Characters

Medium

Longest Turbulent Subarray

Medium

Longest Uncommon Subsequence II

Medium

Longest Word in Dictionary

Medium

Longest Word in Dictionary through Deleting

Medium

Longest ZigZag Path in Binary Tree

Medium

Lowest Common Ancestor of a Binary Tree

Medium

Lowest Common Ancestor of Binary Tree

Medium

LRU Cache

Medium

LRU Cache Implementation

Medium

Majority Element II

Medium

Managers With 5+ Reports

Medium

Max Area of Island

Medium

Max Chunks To Make Sorted

Medium

Max Consecutive Ones III

Medium

Max Number of K-Sum Pairs

Medium

Maximal Square

Medium

Maximize the Confusion of an Exam

Medium

Maximize Win From Two Segments

Medium

Maximum Average Subtree

Medium

Maximum Binary Tree

Medium

Maximum Distance in Arrays

Medium

Maximum Erasure Value

Medium

Maximum Ice Cream Bars

Medium

Maximum Length of Pair Chain

Medium

Maximum Level Sum of a Binary Tree

Medium

Maximum Number of Eaten Apples

Medium

Maximum Number of Vowels in a Substring

Medium

Maximum Points You Can Obtain from Cards

Medium

Maximum Product Subarray

Medium

Maximum Score from Performing Multiplication Operations

Medium

Maximum Subarray

Medium

Maximum Subarray with Jump

Medium

Maximum Sum Circular Subarray

Medium

Maximum Sum of Distinct Subarrays With Length K

Medium

Maximum Swap

Medium

Maximum Width Ramp

Medium

Maximum XOR of Two Numbers in an Array

Medium

Meeting Rooms II

Medium

Meeting Scheduler

Medium

Merge Intervals

Medium

Merge Intervals II

Medium

Merge Triplets to Form Target

Medium

Min Cost to Connect All Points

Medium

Min Stack

Medium

Min Stack with Versions

Medium

Minesweeper

Medium

Minimize Maximum of Array

Medium

Minimum Add to Make Parentheses Valid

Medium

Minimum Area Rectangle

Medium

Minimum ASCII Delete Sum for Two Strings

Medium

Minimum Deletions to Make Character Frequencies Unique

Medium

Minimum Genetic Mutation

Medium

Minimum Height Trees

Medium

Minimum Jumps to Reach Home

Medium

Minimum Moves to Equal Array Elements

Medium

Minimum Moves to Equal Array Elements II

Medium

Minimum Number of Arrows to Burst Balloons

Medium

Minimum Number of Vertices to Reach All Nodes

Medium

Minimum Operations to Make Median

Medium

Minimum Operations to Reduce X to Zero

Medium

Minimum Path Sum

Medium

Minimum Penalty for a Shop

Medium

Minimum Size Subarray Sum

Medium

Minimum Suffix Flips

Medium

Mirror Reflection

Medium

Monthly Transactions

Medium

Most Stones Removed with Same Row or Column

Medium

Multiply Strings

Medium

My Calendar I

Medium

My Calendar II

Medium

N-ary Tree Level Order

Medium

Network Delay Time

Medium

New 21 Game

Medium

Next Greater Element II (Circular)

Medium

Next Greater Element III

Medium

Next Permutation

Medium

Node With Highest Edge Score

Medium

Non-decreasing Array

Medium

Non-overlapping Intervals

Medium

Nth Digit

Medium

Nth Highest Salary

Medium

Number of Corner Rectangles

Medium

Number of Good Ways to Split a String

Medium

Number of Islands

Medium

Number of Longest Increasing Subsequence

Medium

Number of Matching Subsequences

Medium

Number of Pairs of Interchangeable Rectangles

Medium

Number of Provinces

Medium

Number of Subarrays with Bounded Maximum

Medium

Number of Subarrays with Sum

Medium

Number of Zero-Filled Subarrays

Medium

Odd Even Linked List

Medium

Online Election

Medium

Online Stock Span

Medium

Open the Lock

Medium

Optimal Division

Medium

Optimal Partition of String

Medium

Output Contest Matches

Medium

Pacific Atlantic Water Flow

Medium

Paint Fence

Medium

Palindrome Partitioning

Medium

Palindromic Substrings

Medium

Partition Equal Subset Sum

Medium

Partition Labels

Medium

Path Sum II

Medium

Path Sum III

Medium

Path with Maximum Probability

Medium

Path With Minimum Effort

Medium

Peak Index in a Mountain Array

Medium

Perfect Squares

Medium

Permutation in String

Medium

Permutations

Medium

Populating Next Right Pointers in Each Node

Medium

Pow(x, n)

Medium

Pow(x, n) - Fast Exponentiation

Medium

Powerful Integers

Medium

Predict the Winner

Medium

Print Binary Tree

Medium

Prison Cells After N Days

Medium

Product of Array Except Self

Medium

Push Dominoes

Medium

Queue Reconstruction by Height

Medium

Random Flip Matrix

Medium

Random Pick Index

Medium

Random Pick with Weight

Medium

Random Point in Non-overlapping Rectangles

Medium

Range Frequency Queries

Medium

Range Sum Query - Mutable

Medium

Range Sum Query 2D - Immutable

Medium

Rank Scores

Medium

Reach a Number

Medium

Rearrange Array Elements by Sign

Medium

Recover Binary Search Tree

Medium

Reduce Array Size to The Half

Medium

Redundant Connection

Medium

Reformat Department Table

Medium

Remove All Adjacent Duplicates in String II

Medium

Remove Duplicates from Sorted Array II

Medium

Remove Duplicates from Sorted List II

Medium

Remove K Digits

Medium

Remove Nth Node From End

Medium

Remove Nth Node From End of List

Medium

Removing Stars From a String

Medium

Reorder Data in Log Files

Medium

Reorder List

Medium

Reorganize String

Medium

Repeated String Match

Medium

Replace the Substring for Balanced String

Medium

Restore IP Addresses

Medium

Reveal Cards In Increasing Order

Medium

Reverse Words in a String

Medium

Reverse Words in a String II

Medium

RLE Iterator

Medium

Rotate Array

Medium

Rotate Image

Medium

Rotate Image 180

Medium

Rotate List

Medium

Rotting Oranges

Medium

Satisfiability of Equality Equations

Medium

Score After Flipping Matrix

Medium

Score of Parentheses

Medium

Search a 2D Matrix

Medium

Search in Rotated Sorted Array

Medium

Search in Rotated Sorted Array II

Medium

Search Suggestions System

Medium

Second Highest Salary

Medium

Sell Diminishing-Valued Colored Balls

Medium

Sequence Reconstruction

Medium

Serialize and Deserialize BST

Medium

Set Matrix Zeroes

Medium

Set Matrix Zeroes (Constant Space)

Medium

Shifting Letters

Medium

Short Encoding of Words

Medium

Shortest Bridge

Medium

Shortest Path in Binary Matrix

Medium

Shortest Path with Alternating Colors

Medium

Shortest Unsorted Continuous Subarray

Medium

Shuffle an Array

Medium

Simplify Path

Medium

Simplify Unix Path

Medium

Single Element in Sorted Array

Medium

Single Number II

Medium

Single Number III

Medium

Smallest Common Region

Medium

Smallest Range II

Medium

Smallest String With Swaps

Medium

Smallest Value After Replacing Primes

Medium

Snakes and Ladders

Medium

Snapshot Array

Medium

Solving Questions With Brainpower

Medium

Sort Characters By Frequency

Medium

Sort Colors

Medium

Sort List

Medium

Soup Servings

Medium

Spiral Matrix

Medium

Spiral Matrix II

Medium

Split Array into Consecutive Subsequences

Medium

Split Linked List in Parts

Medium

Step-By-Step Directions From a Binary Tree Node to Another

Medium

Stone Game VII

Medium

String Compression

Medium

String to Integer (atoi)

Medium

Subarray Product Less Than K

Medium

Subarray Sum Equals K

Medium

Subsets

Medium

Subsets II

Medium

Sum of Beauty of All Substrings

Medium

Sum of Subarray Minimums

Medium

Sum of Two Integers

Medium

Sum of XOR

Medium

Sum Root to Leaf Numbers

Medium

Super Ugly Number

Medium

Surrounded Regions

Medium

Swap Nodes in Pairs

Medium

Target Sum

Medium

Task Scheduler

Medium

Time Based Key-Value Store

Medium

Time Needed to Inform All Employees

Medium

Top K Frequent Elements

Medium

Top K Frequent Words

Medium

Total Hamming Distance

Medium

Tree Diameter

Medium

Triangle

Medium

Triangle Minimum Path Sum

Medium

Trim a Binary Search Tree

Medium

Two Sum II - Input Array Is Sorted

Medium

Ugly Number II

Medium

Uncrossed Lines

Medium

Unique Binary Search Trees

Medium

Unique Binary Search Trees II

Medium

Unique Paths

Medium

Unique Paths II

Medium

Valid Parenthesis String

Medium

Valid Sudoku

Medium

Valid Triangle Number

Medium

Validate Binary Search Tree

Medium

Validate Stack Sequences

Medium

Verify Preorder Sequence in BST

Medium

Verify Preorder Serialization

Medium

Verify Preorder Serialization of Binary Tree

Medium

Video Stitching

Medium

Walking Robot Simulation

Medium

Walls and Gates

Medium

Ways to Split Array Into Three Subarrays

Medium

Wiggle Sort II

Medium

Winning Candidate

Medium

Word Break

Medium

Word Search

Medium

XOR Queries of a Subarray

Medium

Zigzag Conversion

Medium

Zigzag Iterator

Medium

Alien Dictionary

Hard

Arithmetic Slices II - Subsequence

Hard

Basic Calculator

Hard

Best Time to Buy and Sell Stock IV

Hard

Binary Tree Cameras

Hard

Binary Tree Maximum Path Sum

Hard

Burst Balloons

Hard

Candy

Hard

Cherry Pickup

Hard

Cherry Pickup II

Hard

Concatenated Words

Hard

Consecutive Numbers Sum

Hard

Constrained Subsequence Sum

Hard

Contains Duplicate III

Hard

Count Different Palindromic Subsequences

Hard

Count of Range Sum

Hard

Count of Smaller Numbers After Self

Hard

Count Subarrays With Fixed Bounds

Hard

Count Subarrays With Score Less Than K

Hard

Count Vowels Permutation

Hard

Count Ways to Build Rooms in an Ant Colony

Hard

Couples Holding Hands

Hard

Course Schedule III

Hard

Create Maximum Number

Hard

Critical Connections in a Network

Hard

Decode Ways II

Hard

Distinct Echo Substrings

Hard

Distinct Subsequences

Hard

Dungeon Game

Hard

Edit Distance

Hard

Employee Free Time

Hard

Expression Add Operators

Hard

Find Array Given Subset Sums

Hard

Find K-th Smallest Pair Distance

Hard

Find Longest Awesome Substring

Hard

Find Median from Data Stream

Hard

Find Median Salary

Hard

Find Minimum in Rotated Sorted Array II

Hard

Find the Shortest Superstring

Hard

First Missing Positive

Hard

Freedom Trail

Hard

Frog Jump

Hard

Integer to English Words

Hard

IPO

Hard

K Inverse Pairs Array

Hard

Kth Smallest Number in Multiplication Table

Hard

Largest Rectangle in Histogram

Hard

LFU Cache

Hard

Longest Consecutive Sequence II

Hard

Longest Duplicate Substring

Hard

Longest Increasing Path in a Matrix

Hard

Longest Path With Different Adjacent Characters

Hard

Longest Valid Parentheses

Hard

Make Array Strictly Increasing

Hard

Matrix Chain Multiplication

Hard

Max Chunks To Make Sorted II

Hard

Max Points on a Line

Hard

Max Sum of Rectangle No Larger Than K

Hard

Max Value of Equation

Hard

Maximal Rectangle

Hard

Maximum Frequency Stack

Hard

Maximum Performance of a Team

Hard

Maximum Profit in Job Scheduling

Hard

Maximum Score Words Formed by Letters

Hard

Maximum Segment Sum After Removals

Hard

Median of Two Sorted Arrays

Hard

Merge k Sorted Lists

Hard

Minimize Deviation in Array

Hard

Minimize Malware Spread

Hard

Minimize Max Distance to Gas Station

Hard

Minimum Cost to Hire K Workers

Hard

Minimum Cost to Merge Stones

Hard

Minimum Interval to Include Each Query

Hard

Minimum Money Required Before Transactions

Hard

Minimum Number of Refueling Stops

Hard

Minimum Number of Visited Cells in a Grid

Hard

Minimum Window Subsequence

Hard

Minimum Window Substring

Hard

N-Queens

Hard

Non-negative Integers without Consecutive Ones

Hard

Number of Atoms

Hard

Number of Digit One

Hard

Number of Islands II

Hard

Number of Ways to Stay in the Same Place

Hard

Numbers At Most N Given Digit Set

Hard

Optimal Account Balancing

Hard

Orderly Queue

Hard

Palindrome Pairs

Hard

Palindrome Partitioning II

Hard

Parallel Courses III

Hard

Patching Array

Hard

Permutation Sequence

Hard

Poor Pigs

Hard

Prefix and Suffix Search

Hard

Preimage Size of Factorial Zeroes Function

Hard

Profitable Schemes

Hard

Race Car

Hard

Reachable Nodes In Subdivided Graph

Hard

Reaching Points

Hard

Rearrange String k Distance Apart

Hard

Reconstruct Itinerary

Hard

Regular Expression Matching

Hard

Reverse Nodes in k-Group

Hard

Russian Doll Envelopes

Hard

Scramble String

Hard

Self Crossing

Hard

Serialize and Deserialize Binary Tree

Hard

Serialize and Deserialize N-ary Tree

Hard

Shortest Distance from All Buildings

Hard

Shortest Palindrome

Hard

Shortest Path in a Grid with Obstacles Elimination

Hard

Shortest Subarray with Sum at Least K

Hard

Similar String Groups

Hard

Sliding Window Maximum

Hard

Sliding Window Median

Hard

Smallest Good Base

Hard

Smallest Range Covering Elements from K Lists

Hard

Smallest Sufficient Team

Hard

Split Array Largest Sum

Hard

Split Array With Same Average

Hard

Stamping The Sequence

Hard

Stickers to Spell Word

Hard

Strange Printer

Hard

Stream of Characters

Hard

Strong Password Checker

Hard

Student Attendance Record II

Hard

Subarrays with K Different Integers

Hard

Sudoku Solver

Hard

Sum of Distances in Tree

Hard

Super Egg Drop

Hard

Swim in Rising Water

Hard

Tallest Billboard

Hard

Text Justification

Hard

Top Three Salaries by Department

Hard

Trapping Rain Water

Hard

Valid Number

Hard

Vertical Order Traversal of a Binary Tree

Hard

Wildcard Matching

Hard

Word Break II

Hard

Word Ladder

Hard

Word Ladder II

Hard

Word Search II

Hard

Zuma Game

Hard