Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Google — 180 Days

Two Sum

Add Two Numbers

Longest Common Prefix

Median Of Two Sorted Arrays

Palindrome Number

Trapping Rain Water

Best Time To Buy And Sell Stock

Longest Substring Without Repeating Characters

3sum

Longest Consecutive Sequence

Count Number Of Trapezoids Ii

Longest Palindromic Substring

Count Number Of Trapezoids I

Roman To Integer

Merge Intervals

Container With Most Water

Subarray Sum Equals K

Maximum Subarray

Valid Parentheses

Meeting Rooms Ii

Number Of Visible People In A Queue

Next Permutation

Merge Two Sorted Lists

Merge Sorted Array

Majority Element

Remove Duplicates From Sorted Array

Pascals Triangle

Decode String

Search In Rotated Sorted Array

Reverse Integer

Single Number

Generate Parentheses

N Queens

Top K Frequent Elements

Sort Colors

Add Two Integers

Climbing Stairs

Move Zeroes

Find The Index Of The First Occurrence In A String

Sliding Window Maximum

4sum

Spiral Matrix

Set Matrix Zeroes

Number Of Islands

Valid Anagram

Recyclable And Low Fat Products

Merge Strings Alternately

Jump Game

Happy Number

Reverse Linked List

Power Of Two

Search Insert Position

Rotate Image

Add Binary

Split Array Largest Sum

Binary Search

Remove Element

Subsets

Find Peak Element

Create Hello World Function

Group Anagrams

Largest Rectangle In Histogram

Rotate Array

Koko Eating Bananas

Regular Expression Matching

Valid Sudoku

Subsets Ii

Candy

Longest Repeating Character Replacement

Zigzag Conversion

3sum Closest

Unique Paths

Count Primes

Maximal Square

Best Time To Buy And Sell Stock Ii

Lru Cache

House Robber

Powx N

Linked List Cycle

Min Stack

Combine Two Tables

Basic Calculator

Longest Increasing Subsequence

Russian Doll Envelopes

Single Element In A Sorted Array

Letter Combinations Of A Phone Number

Remove Nth Node From End Of List

Find First And Last Position Of Element In Sorted Array

Sqrtx

Maximal Rectangle

Valid Palindrome

Reverse Words In A String

Maximum Product Subarray

Second Highest Salary

Kth Largest Element In An Array

Contains Duplicate

Rotate List

Partition Equal Subset Sum

Max Consecutive Ones

Next Greater Element I

Next Special Palindrome Number

Minimum Window Substring

Product Of Array Except Self

Top K Frequent Words

Fruit Into Baskets

Sum Of Subarray Minimums

Merge K Sorted Lists

Reverse Nodes In K Group

Divide Two Integers

Sudoku Solver

Jump Game Ii

Plus One

Binary Tree Maximum Path Sum

Palindrome Partitioning

Word Break

Sort List

Two Sum Ii Input Array Is Sorted

Intersection Of Two Arrays

Logger Rate Limiter

Peak Index In A Mountain Array

Middle Of The Linked List

Squares Of A Sorted Array

Longest Duplicate Substring

Inverse Coin Change

First Missing Positive

Wildcard Matching

Insert Interval

Text Justification

Edit Distance

Same Tree

Binary Tree Zigzag Level Order Traversal

Reorder List

Employees Earning More Than Their Managers

Rising Temperature

Course Schedule

Target Sum

Fibonacci Number

Employee Bonus

Task Scheduler

Sort An Array

Path With Maximum Minimum Value

Article Views I

Find N Unique Integers Sum Up To Zero

Apply Substitutions

Remove Duplicates From Sorted List

Copy List With Random Pointer

Isomorphic Strings

Palindrome Linked List

Lowest Common Ancestor Of A Binary Tree

Insert Delete Getrandom O1

K Th Smallest In Lexicographical Order

Diagonal Traverse

Diameter Of Binary Tree

Range Module

Rotting Oranges

Maximum Number Of Events That Can Be Attended

Maximize Subarray Gcd Score

Partition String

Permutations

Word Search

Contains Duplicate Ii

Delete Node In A Linked List

Find The Duplicate Number

Reverse String

Remove K Digits

Lfu Cache

Reverse Pairs

Coin Change Ii

Number Of Provinces

Daily Temperatures

Rotate String

Running Sum Of 1d Array

Rearrange Array Elements By Sign

Fruits Into Baskets Ii

String To Integer Atoi

Integer To Roman

Symmetric Tree

Single Number Ii

Find Minimum In Rotated Sorted Array

Intersection Of Two Linked Lists

Remove Linked List Elements

House Robber Ii

Kth Smallest Element In A Bst

Perfect Squares

Coin Change

Odd Even Linked List

Reverse Vowels Of A String

Is Subsequence

String Compression

Find All Numbers Disappeared In An Array

Random Pick With Weight

Longest Harmonious Subsequence

24 Game

Soup Servings

New 21 Game

Reordered Power Of 2

Max Consecutive Ones Iii

Delete Nodes And Return Forest

Shortest Path In A Grid With Obstacles Elimination

Check If Array Is Sorted And Rotated

Meeting Rooms Iii

Separate Squares I

Length Of Last Word

Minimum Path Sum

Remove Duplicates From Sorted List Ii

Reverse Linked List Ii

Binary Tree Level Order Traversal

Construct Binary Tree From Preorder And Inorder Traversal

Triangle

Surrounded Regions

Linked List Cycle Ii

Binary Tree Right Side View

Implement Trie Prefix Tree

First Bad Version

Serialize And Deserialize Binary Tree

Power Of Three

Fizz Buzz

Third Maximum Number

Pacific Atlantic Water Flow

Largest Triangle Area

Capacity To Ship Packages Within D Days

Longest Common Subsequence

Count Square Submatrices With All Ones

Students And Examinations

Minimum Number Of Days To Make M Bouquets

Minimum Number Of Increments On Subarrays To Form A Target Array

Maximum Erasure Value

Minimum Time To Finish The Race

Rearranging Fruits

Find Missing And Repeated Values

Type Of Triangle

Substring With Concatenation Of All Words

Multiply Strings

Search A 2d Matrix

Remove Duplicates From Sorted Array Ii

Recover Binary Search Tree

Convert Sorted Array To Binary Search Tree

Course Schedule Ii

Shortest Palindrome

Implement Stack Using Queues

Implement Queue Using Stacks

Search A 2d Matrix Ii

Expression Add Operators

Intersection Of Two Arrays Ii

Largest Divisible Subset

Non Overlapping Intervals

Assign Cookies

Managers With At Least 5 Direct Reports

Find Customer Referee

Big Countries

Triangle Judgement

Palindromic Substrings

Max Area Of Island

Swim In Rising Water

Guess The Word

Binary Subarrays With Sum

Vertical Order Traversal Of A Binary Tree

Replace Employee Id With The Unique Identifier

Longest Subarray Of 1s After Deleting One Element

Kth Missing Positive Number

Calculate Money In Leetcode Bank

Maximum Score From Removing Substrings

Concatenation Of Array

Next Greater Numerically Balanced Number

Minimize The Maximum Difference Of Pairs

Distribute Candies Among Children Ii

Find The Minimum Area To Cover All Ones I

Find The K Th Character In String Game I

Minimum Increments To Equalize Leaf Paths

Permutation Sequence

Binary Tree Inorder Traversal

Maximum Depth Of Binary Tree

Word Ladder

Gas Station

Max Points On A Line

Evaluate Reverse Polish Notation

Find Minimum In Rotated Sorted Array Ii

Excel Sheet Column Title

Consecutive Numbers

Duplicate Emails

Customers Who Never Order

Design Add And Search Words Data Structure

Word Search Ii

Invert Binary Tree

Add Digits

Ugly Number

Missing Number

Find Median From Data Stream

Burst Balloons

Increasing Triplet Subsequence

Counting Bits

Find Leaves Of Binary Tree

Sum Of Two Integers

First Unique Character In A String

Find The Difference

Add Strings

Find All Duplicates In An Array

132 Pattern

Repeated Substring Pattern

Sliding Window Median

Permutation In String

Can Place Flowers

Exchange Seats

Maximum Average Subarray I

Find K Closest Elements

Maximum Swap

Valid Parenthesis String

Valid Palindrome Ii

Design Linked List

Flood Fill

Jewels And Stones

Transpose Matrix

Bitwise Ors Of Subarrays

Snakes And Ladders

Minimum Falling Path Sum

Minimum Number Of K Consecutive Bit Flips

Longest String Chain

Greatest Common Divisor Of Strings

Shortest Path In Binary Matrix

Shortest Common Supersequence

Snapshot Array

Search Suggestions System

Paint House Iii

Count Submatrices With All Ones

Invalid Tweets

Single Threaded Cpu

Frequency Of The Most Frequent Element

Count Good Numbers

Kth Smallest Product Of Two Sorted Arrays

Find All K Distant Indices In An Array

Largest 3 Same Digit Number In String

The Latest Time To Catch A Bus

Number Of Common Factors

Range Product Queries Of Powers

Minimum Operations To Make The Integer Zero

Create A Dataframe From List

Divide Array Into Arrays With Max Difference

Find The Original Typed String I

Find The Original Typed String Ii

Design Task Manager

Swap Nodes In Pairs

Combination Sum

Valid Number

Combinations

Search In Rotated Sorted Array Ii

Decode Ways

Interleaving String

Distinct Subsequences

Best Time To Buy And Sell Stock Iii

Rank Scores

Largest Number

Number Of 1 Bits

Bitwise And Of Numbers Range

Minimum Size Subarray Sum

Basic Calculator Ii

Encode And Decode Strings

Integer To English Words

Range Sum Query Immutable

Range Sum Query 2d Immutable

Additive Number

Best Time To Buy And Sell Stock With Cooldown

Find K Pairs With Smallest Sums

Ransom Note

Lexicographical Numbers

Nth Digit

Frog Jump

Path Sum Iii

Next Greater Element Ii

Detect Capital

Contiguous Array

Game Play Analysis Iv

Valid Triangle Number

Design Circular Queue

Repeated String Match

Is Graph Bipartite

Cheapest Flights Within K Stops

Find And Replace In String

Shortest Path Visiting All Nodes

Boats To Save People

Online Stock Span

Car Pooling

The Earliest Moment When Everyone Become Friends

Monthly Transactions I

Unique Number Of Occurrences

Count Number Of Nice Subarrays

Find The Smallest Divisor Given A Threshold

Convert Integer To The Sum Of Two No Zero Integers

Maximum 69 Number

Minimum Number Of Taps To Open To Water A Garden

Find Lucky Integer In An Array

Water Bottles

Average Time Of Process Per Machine

Maximum Number Of Events That Can Be Attended Ii

Check If The Sentence Is Pangram

Painting A Grid With Three Different Colors

Maximum Number Of Words You Can Type

Delete Characters To Make Fancy String

Sum Of K Mirror Numbers

Find Subsequence Of Length K With The Largest Sum

Count Hills And Valleys In An Array

Number Of People Aware Of A Secret

Move Pieces To Obtain A String

Smallest Subarrays With Maximum Bitwise Or

Counter

Find The Maximum Achievable Number

Find The Maximum Length Of Valid Subsequence I

Zero Array Transformation I

Fruits Into Baskets Iii

Maximize Subarrays After Removing One Conflicting Pair

Minimum Operations To Make Array Elements Zero

Longest Valid Parentheses

Combination Sum Ii

N Queens Ii

Spiral Matrix Ii

Unique Paths Ii

Simplify Path

Balanced Binary Tree

Minimum Depth Of Binary Tree

Flatten Binary Tree To Linked List

Populating Next Right Pointers In Each Node

Pascals Triangle Ii

Word Ladder Ii

Sum Root To Leaf Numbers

Palindrome Partitioning Ii

Maximum Gap

Compare Version Numbers

Nth Highest Salary

Repeated Dna Sequences

Combination Sum Iii

The Skyline Problem

Summary Ranges

Majority Element Ii

Different Ways To Add Parentheses

Meeting Rooms

Binary Tree Paths

H Index

Power Of Four

Water And Jug Problem

Trapping Rain Water Ii

Find All Anagrams In A String

Sort Characters By Frequency

Continuous Subarray Sum

Minimum Absolute Difference In Bst

Minimum Time Difference

Next Greater Element Iii

Sum Of Square Numbers

Design Search Autocomplete System

Two Sum Iv Input Is A Bst

Longest Continuous Increasing Subsequence

Baseball Game

Accounts Merge

Find Pivot Index

Asteroid Collision

Network Delay Time

Swap Adjacent In Lr String

Number Of Matching Subsequences

Race Car

Minimum Area Rectangle Ii

K Closest Points To Origin

Time Based Key Value Store

Remove Outermost Parentheses

Divisor Game

Project Employees I

Defanging An Ip Address

Relative Sort Array

Smallest String With Swaps

Average Selling Price

Number Of Closed Islands

Convert Binary Number In A Linked List To Integer

Maximum Sum Bst In Binary Tree

Maximum Points You Can Obtain From Cards

Number Of Good Pairs

Three Consecutive Odds

The Number Of Employees Which Report To Each Employee

Minimum Interval To Include Each Query

Confirmation Rate

Final Value Of Variable After Performing Operations

Longest Subsequence Repeated K Times

Maximum Difference Between Increasing Elements

Delete The Middle Node Of A Linked List

Detonate The Maximum Bombs

Maximum Fruits Harvested After At Most K Steps

Minimum Weighted Subgraph With The Required Paths

Find Resultant Array After Removing Anagrams

Remove Nodes From Linked List

Sleep

Ways To Express An Integer As Sum Of Powers

Find Words Containing Character

Valid Word

Maximum Frequency Of An Element After Performing Operations I

Make Array Elements Equal To Zero

Smallest Number With All Set Bits

Maximize The Number Of Target Nodes After Connecting Trees Ii

Reschedule Meetings For Maximum Free Time I

Sort Matrix By Diagonals

Minimum Pair Removal To Sort Array I

Count And Say

Permutations Ii

Restore Ip Addresses

Unique Binary Search Trees Ii

Path Sum

Clone Graph

Word Break Ii

Binary Tree Preorder Traversal

Fraction To Recurring Decimal

Factorial Trailing Zeroes

Department Highest Salary

Best Time To Buy And Sell Stock Iv

Count Complete Tree Nodes

Number Of Digit One

Lowest Common Ancestor Of A Binary Search Tree

Group Shifted Strings

Nim Game

Minimum Height Trees

Remove Duplicate Letters

Longest Increasing Path In A Matrix

Flatten Nested List Iterator

Count Numbers With Unique Digits

Combination Sum Iv

Kth Smallest Element In A Sorted Matrix

Shuffle An Array

Evaluate Division

Queue Reconstruction By Height

Reconstruct Original Digits From English

Construct Quad Tree

Sequence Reconstruction

Delete Node In A Bst

Longest Word In Dictionary Through Deleting

Reverse String Ii

01 Matrix

Array Partition

Shortest Unsorted Continuous Subarray

Delete Operation For Two Strings

Investments In 2016

Classes With At Least 5 Students

Smallest Range Covering Elements From K Lists

Exclusive Time Of Functions

Maximum Width Of Binary Tree

Degree Of An Array

Subarray Product Less Than K

Best Time To Buy And Sell Stock With Transaction Fee

Find Smallest Letter Greater Than Target

Min Cost Climbing Stairs

Employee Free Time

Reorganize String

Find Eventual Safe States

Bus Routes

Maximize Distance To Closest Person

Exam Room

Lemonade Change

X Of A Kind In A Deck Of Cards

Sort Array By Parity Ii

Reveal Cards In Increasing Order

Vowel Spellchecker

Odd Even Jump

Largest Perimeter Triangle

Subarrays With K Different Integers

Customers Who Bought All Products

Last Stone Weight

Last Stone Weight Ii

Parsing A Boolean Expression

Maximum Nesting Depth Of Two Valid Parentheses Strings

Product Price At A Given Date

Immediate Food Delivery Ii

Last Person To Fit In The Bus

Queries Quality And Percentage

Remove Sub Folders From The Filesystem

Subtract The Product And Sum Of Digits Of An Integer

Find The City With The Smallest Number Of Neighbors At A Threshold Distance

Maximum Students Taking Exam

Time Needed To Inform All Employees

Avoid Flood In The City

Number Of Subsequences That Satisfy The Given Sum Condition

Get The Maximum Score

Minimum Cost To Cut A Stick

Magnetic Force Between Two Balls

Min Cost To Connect All Points

Lowest Common Ancestor Of A Binary Tree Iii

Defuse The Bomb

Richest Customer Wealth

Max Number Of K Sum Pairs

Sum Of Absolute Differences In A Sorted Array

Number Of Students Unable To Eat Lunch

Maximum Units On A Truck

Find The Highest Altitude

Minimum Number Of People To Teach

Minimum Number Of Operations To Move All Balls To Each Box

Car Fleet Ii

Sum Of Beauty Of All Substrings

Maximum Population Year

Finding Pairs With A Certain Sum

The Earliest And Latest Rounds Where Players Compete

Find A Peak Element Ii

Largest Odd Number In String

Three Divisors

Find If Path Exists In Graph

Number Of Ways To Arrive At Destination

Partition Array Into Two Arrays To Minimize Sum Difference

Simple Bank System

Count Number Of Maximum Bitwise Or Subsets

Step By Step Directions From A Binary Tree Node To Another

Sum Of Subarray Ranges

Maximum Twin Sum Of A Linked List

Maximum Candies Allocated To K Children

Maximum Score Of A Node Sequence

Find Closest Node To Given Two Nodes

Maximum Subsequence Score

Left And Right Sum Differences

Array Prototype Last

To Be Or Not To Be

Add Two Promises

Divisible And Non Divisible Sums Difference

Find Beautiful Indices In The Given Array I

Alice And Bob Playing Flower Game

Find The Number Of Ways To Place People I

Score Of A String

Lexicographically Minimum String After Removing Stars

Clear Digits

Maximum Total Damage With Spell Casting

Find The Maximum Length Of Valid Subsequence Ii

Delete Nodes From Linked List Present In Array

Vowels Game In A String

Adjacent Increasing Subarrays Detection I

Maximum Number Of Distinct Elements After Operations

Maximum Difference Between Adjacent Elements In A Circular Array

Reschedule Meetings For Maximum Free Time Ii

Maximum Difference Between Even And Odd Frequency I

Maximum Difference Between Even And Odd Frequency Ii

Path Existence Queries In A Graph I

Maximum Product Of Two Digits

Minimum Swaps To Sort By Digit Sum

Find Weighted Median Node In Tree

Partition List

Scramble String

Gray Code

Unique Binary Search Trees

Validate Binary Search Tree

Construct Binary Tree From Inorder And Postorder Traversal

Binary Tree Level Order Traversal Ii

Convert Sorted List To Binary Search Tree

Populating Next Right Pointers In Each Node Ii

Insertion Sort List

Excel Sheet Column Number

Binary Search Tree Iterator

Dungeon Game

Valid Phone Numbers

Delete Duplicate Emails

Rectangle Area

Paint House

Single Number Iii

Graph Valid Tree

Trips And Users

Word Pattern

Smallest Rectangle Enclosing Black Pixels

Number Of Islands Ii

Range Sum Query Mutable

Binary Tree Vertical Order Traversal

Maximum Product Of Word Lengths

Create Maximum Number

Wiggle Sort Ii

Patching Array

House Robber Iii

Nested List Weight Sum

Integer Break

Android Unlock Patterns

Design Twitter

Design Hit Counter

Super Pow

Linked List Random Node

Longest Absolute File Path

Rotate Function

Valid Word Abbreviation

Arithmetic Slices

Maximum Xor Of Two Numbers In An Array

Flatten A Multilevel Doubly Linked List

All Oone Data Structure

Minimum Genetic Mutation

Number Of Segments In A String

Arranging Coins

Serialize And Deserialize Bst

Minimum Moves To Equal Array Elements

Can I Win

Count The Repetitions

Implement Rand10 Using Rand7

Number Complement

Predict The Winner

Robot Room Cleaner

Game Play Analysis I

Longest Palindromic Subsequence

Encode And Decode Tinyurl

Remove Boxes

Student Attendance Record I

Student Attendance Record Ii

Reverse Words In A String Iii

Distribute Candies

Friend Requests Ii Who Has The Most Friends

Merge Two Binary Trees

Solve The Equation

Set Mismatch

Replace Words

2 Keys Keyboard

Find Duplicate Subtrees

Robot Return To Origin

Non Decreasing Array

Number Of Longest Increasing Subsequence

Redundant Connection

Redundant Connection Ii

Maximum Sum Of 3 Non Overlapping Subarrays

Binary Number With Alternating Bits

Search In A Binary Search Tree

Design Hashset

Design Hashmap

Maximum Length Of Repeated Subarray

Candy Crush

My Calendar I

Sentence Similarity Ii

Open The Lock

Cracking The Safe

Basic Calculator Iii

Domino And Tromino Tiling

Split Array With Same Average

Expressive Words

Subdomain Visit Count

Most Common Word

Most Profit Assigning Work

Making A Large Island

Flipping An Image

Sum Of Distances In Tree

Backspace String Compare

Hand Of Straights

Car Fleet

All Nodes Distance K In Binary Tree

Minimum Number Of Refueling Stops

Stone Game

Spiral Matrix Iii

All Possible Full Binary Trees

Sort Array By Parity

Maximum Sum Circular Subarray

Minimum Add To Make Parentheses Valid

Unique Email Addresses

Number Of Recent Calls

Shortest Bridge

Regions Cut By Slashes

Maximum Width Ramp

Subarray Sums Divisible By K

Unique Paths Iii

String Without Aaa Or Bbb

Interval List Intersections

Add To Array Form Of Integer

Satisfiability Of Equality Equations

Cousins In Binary Tree

Number Of Squareful Arrays

Find The Town Judge

Pairs Of Songs With Total Durations Divisible By 60

Number Of Enclaves

Robot Bounded In Circle

Partition Array For Maximum Sum

Lexicographically Smallest Equivalent String

Longest Repeating Substring

Product Sales Analysis Iii

Corporate Flight Bookings

Highest Grade For Each Student

Print Zero Even Odd

Minimum Cost Tree From Leaf Values

Critical Connections In A Network

Minimum Knight Moves

Path With Maximum Gold

Tiling A Rectangle With The Fewest Squares

Minimum Moves To Move A Box To Their Target Location

Remove Interval

Maximum Candies You Can Get From Boxes

Decompress Run Length Encoded List

Delete Leaves With A Given Value

Rank Transform Of An Array

Movie Rating

Number Of Steps To Reduce A Number To Zero

Jump Game Iv

Number Of Substrings Containing All Three Characters

Minimum Cost To Make At Least One Valid Path In A Grid

Generate A String With Characters That Have Odd Counts

Design A Stack With Increment Operation

Maximum Performance Of A Team

Design Underground System

Stone Game Iii

Minimum Value To Get Positive Step By Step Sum

Build Array Where You Can Find The Maximum Exactly K Comparisons

Kids With The Greatest Number Of Candies

Maximum Number Of Vowels In A Substring Of Given Length

Maximum Product Of Two Elements In An Array

Reorder Routes To Make All Paths Lead To The City Zero

Xor Operation In An Array

Path Crossing

Count Odd Numbers In An Interval Range

Shuffle String

Shortest Subarray To Be Removed To Make Array Sorted

Remove Max Number Of Edges To Keep Graph Fully Traversable

Customer Who Visited But Did Not Make Any Transactions

Path With Minimum Effort

Rank Transform Of A Matrix

Percentage Of Users Attended A Contest

Minimum Operations To Reduce X To Zero

Fix Names In A Table

Maximum Repeating Substring

Merge In Between Linked Lists

Ways To Split Array Into Three Subarrays

Swapping Nodes In A Linked List

Check If Number Is A Sum Of Powers Of Three

Primary Department For Each Employee

Find Center Of Star Graph

Maximum Average Pass Ratio

Maximum Value At A Given Index In A Bounded Array

Sorting The Sentence

Rotating The Box

Determine Whether Matrix Can Be Obtained By Rotation

Build Array From Permutation

Unique Length 3 Palindromic Subsequences

Delete Duplicate Folders In System

Find Greatest Common Divisor Of Array

Count Special Quadruplets

Reverse Prefix Of Word

Maximum Product Of The Length Of Two Palindromic Subsequences

Detect Squares

Maximize The Confusion Of An Exam

Maximum Number Of Words Found In Sentences

Find All Possible Recipes From Given Supplies

Longest Palindrome By Concatenating Two Letter Words

All Ancestors Of A Node In A Directed Acyclic Graph

Replace Non Coprime Numbers In Array

Largest Number After Digit Swaps By Parity

Number Of Flowers In Full Bloom

Count Unguarded Cells In The Grid

Escape The Spreading Fire

Count Integers In Intervals

Partition Array Such That Maximum Difference Is K

Successful Pairs Of Spells And Potions

Minimum Score After Removals On A Tree

Decode The Message

Number Of Zero Filled Subarrays

Design A Food Rating System

Number Of Unique Subjects Taught By Each Teacher

Task Scheduler Ii

Minimum Replacements To Sort The Array

Minimum Recolors To Get K Consecutive Black Blocks

Longest Nice Subarray

Maximum Matching Of Players With Trainers

Longest Subarray With Maximum Bitwise And

Height Of Binary Tree After Subtree Removal Queries

Closest Nodes Queries In A Binary Search Tree

Minimum Score Of A Path Between Two Cities

Time Taken To Cross The Door

House Robber Iv

Collect Coins In A Tree

Return Length Of Arguments Passed

Minimize String Length

Continuous Subarrays

Minimum Equal Sum Of Two Arrays After Replacing Zeros

Find Common Elements Between Two Arrays

Maximum Area Of Longest Diagonal Rectangle

Count Elements With Maximum Frequency

Minimum Deletions To Make String K Special

Taking Maximum Energy From The Mystic Dungeon

Special Array I

Find The Minimum Area To Cover All Ones Ii

Generate Binary Strings Without Adjacent Zeros

Minimum Number Of Flips To Make Binary Grid Palindromic Ii

Find The K Th Character In String Game Ii

Total Characters In String After Transformations Ii

Find Minimum Time To Reach Last Room I

Count Number Of Balanced Permutations

Maximum Frequency Of An Element After Performing Operations Ii

Adjacent Increasing Subarrays Detection Ii

Sum Of Good Subsequences

Zero Array Transformation Iii

Find The Maximum Number Of Fruits Collected

Maximum Subarray With Equal Products

Separate Squares Ii

Check If Digits Are Equal In String After Operations I

Unique 3 Digit Even Numbers

Design Spreadsheet

Maximum Unique Subarray Sum After Deletion

Find Closest Person

Path Existence Queries In A Graph Ii

Find Most Frequent Vowel And Consonant

Best Time To Buy And Sell Stock V

Count Partitions With Max Min Difference At Most K

Find Maximum Area Of A Triangle

Count Prime Gap Balanced Subarrays

Count Islands With Total Value Divisible By K

Partition Array For Maximum Xor And And

Maximum Total From Optimal Activation Order

Partition Array Into K Distinct Groups

Sum Of Beautiful Subsequences

Count Bowl Subarrays

Subsequence Sum After Capping Elements

Number Of Stable Subsequences

Sum Of Perfect Square Ancestors

Lexicographically Smallest Permutation Greater Than Target

Back to GoogleLeetCode Index