File tree
3,773 files changed
+2258
-2258
lines changed- Problemset
- 0001-Two Sum
- 0002-Add Two Numbers
- 0003-Longest Substring Without Repeating Characters
- 0004-Median of Two Sorted Arrays
- 0005-Longest Palindromic Substring
- 0006-ZigZag Conversion
- 0007-Reverse Integer
- 0008-String to Integer (atoi)
- 0009-Palindrome Number
- 0011-Container With Most Water
- 0012-Integer to Roman
- 0013-Roman to Integer
- 0014-Longest Common Prefix
- 0015-3Sum
- 0016-3Sum Closest
- 0017-Letter Combinations of a Phone Number
- 0019-Remove Nth Node From End of List
- 0020-Valid Parentheses
- 0021-Merge Two Sorted Lists
- 0022-Generate Parentheses
- 0024-Swap Nodes in Pairs
- 0026-Remove Duplicates from Sorted Array
- 0027-Remove Element
- 0028-Implement strStr()
- 0033-Search in Rotated Sorted Array
- 0035-Search Insert Position
- 0036-Valid Sudoku
- 0038-Count and Say
- 0039-Combination Sum
- 0042-Trapping Rain Water
- 0046-Permutations
- 0047-Permutations II
- 0048-Rotate Image
- 0049-Group Anagrams
- 0050-Pow(x, n)
- 0051-N-Queens
- 0052-N-Queens II
- 0053-Maximum Subarray
- 0054-Spiral Matrix
- 0055-Jump Game
- 0056-Merge Intervals
- 0057-Insert Interval
- 0058-Length of Last Word
- 0059-Spiral Matrix II
- 0061-Rotate List
- 0062-Unique Paths
- 0063-Unique Paths II
- 0064-Minimum Path Sum
- 0066-Plus One
- 0067-Add Binary
- 0069-Sqrt(x)
- 0070-Climbing Stairs
- 0071-Simplify Path
- 0073-Set Matrix Zeroes
- 0074-Search a 2D Matrix
- 0075-Sort Colors
- 0077-Combinations
- 0078-Subsets
- 0080-Remove Duplicates from Sorted Array II
- 0081-Search in Rotated Sorted Array II
- 0082-Remove Duplicates from Sorted List II
- 0083-Remove Duplicates from Sorted List
- 0086-Partition List
- 0088-Merge Sorted Array
- 0089-Gray Code
- 0090-Subsets II
- 0091-Decode Ways
- 0092-Reverse Linked List II
- 0093-Restore IP Addresses
- 0094-Binary Tree Inorder Traversal
- 0095-Unique Binary Search Trees II
- 0096-Unique Binary Search Trees
- 0098-Validate Binary Search Tree
- 0100-Same Tree
- 0101-Symmetric Tree
- 0102-Binary Tree Level Order Traversal
- 0103-Binary Tree Zigzag Level Order Traversal
- 0104-Maximum Depth of Binary Tree
- 0105-Construct Binary Tree from Preorder and Inorder Traversal
- 0106-Construct Binary Tree from Inorder and Postorder Traversal
- 0107-Binary Tree Level Order Traversal II
- 0108-Convert Sorted Array to Binary Search Tree
- 0109-Convert Sorted List to Binary Search Tree
- 0110-Balanced Binary Tree
- 0111-Minimum Depth of Binary Tree
- 0112-Path Sum
- 0113-Path Sum II
- 0114-Flatten Binary Tree to Linked List
- 0116-Populating Next Right Pointers in Each Node
- 0118-Pascal's Triangle
- 0119-Pascal's Triangle II
- 0120-Triangle
- 0121-Best Time to Buy and Sell Stock
- 0122-Best Time to Buy and Sell Stock II
- 0125-Valid Palindrome
- 0129-Sum Root to Leaf Numbers
- 0133-Clone Graph
- 0134-Gas Station
- 0136-Single Number
- 0138-Copy List with Random Pointer
- 0139-Word Break
- 0141-Linked List Cycle
- 0144-Binary Tree Preorder Traversal
- 0145-Binary Tree Postorder Traversal
- 0147-Insertion Sort List
- 0150-Evaluate Reverse Polish Notation
- 0151-Reverse Words in a String
- 0153-Find Minimum in Rotated Sorted Array
- 0155-Min Stack
- 0160-Intersection of Two Linked Lists
- 0162-Find Peak Element
- 0165-Compare Version Numbers
- 0166-Fraction to Recurring Decimal
- 0167-Two Sum II - Input array is sorted
- 0168-Excel Sheet Column Title
- 0169-Majority Element
- 0171-Excel Sheet Column Number
- 0172-Factorial Trailing Zeroes
- 0173-Binary Search Tree Iterator
- 0179-Largest Number
- 0187-Repeated DNA Sequences
- 0189-Rotate Array
- 0190-Reverse Bits
- 0191-Number of 1 Bits
- 0198-House Robber
- 0199-Binary Tree Right Side View
- 0200-Number of Islands
- 0201-Bitwise AND of Numbers Range
- 0202-Happy Number
- 0203-Remove Linked List Elements
- 0204-Count Primes
- 0205-Isomorphic Strings
- 0206-Reverse Linked List
- 0208-Implement Trie (Prefix Tree)
- 0209-Minimum Size Subarray Sum
- 0211-Design Add and Search Words Data Structure
- 0213-House Robber II
- 0215-Kth Largest Element in an Array
- 0217-Contains Duplicate
- 0219-Contains Duplicate II
- 0220-Contains Duplicate III
- 0221-Maximal Square
- 0223-Rectangle Area
- 0225-Implement Stack using Queues
- 0226-Invert Binary Tree
- 0228-Summary Ranges
- 0230-Kth Smallest Element in a BST
- 0231-Power of Two
- 0232-Implement Queue using Stacks
- 0234-Palindrome Linked List
- 0235-Lowest Common Ancestor of a Binary Search Tree
- 0236-Lowest Common Ancestor of a Binary Tree
- 0237-Delete Node in a Linked List
- 0238-Product of Array Except Self
- 0240-Search a 2D Matrix II
- 0242-Valid Anagram
- 0257-Binary Tree Paths
- 0258-Add Digits
- 0260-Single Number III
- 0263-Ugly Number
- 0264-Ugly Number II
- 0268-Missing Number
- 0273-Integer to English Words
- 0274-H-Index
- 0275-H-Index II
- 0278-First Bad Version
- 0279-Perfect Squares
- 0283-Move Zeroes
- 0284-Peeking Iterator
- 0287-Find the Duplicate Number
- 0289-Game of Life
- 0290-Word Pattern
- 0292-Nim Game
- 0299-Bulls and Cows
- 0303-Range Sum Query - Immutable
- 0304-Range Sum Query 2D - Immutable
- 0306-Additive Number
- 0313-Super Ugly Number
- 0316-Remove Duplicate Letters
- 0318-Maximum Product of Word Lengths
- 0319-Bulb Switcher
- 0322-Coin Change
- 0326-Power of Three
- 0328-Odd Even Linked List
- 0331-Verify Preorder Serialization of a Binary Tree
- 0334-Increasing Triplet Subsequence
- 0337-House Robber III
- 0338-Counting Bits
- 0342-Power of Four
- 0343-Integer Break
- 0344-Reverse String
- 0345-Reverse Vowels of a String
- 0347-Top K Frequent Elements
- 0349-Intersection of Two Arrays
- 0350-Intersection of Two Arrays II
- 0357-Count Numbers with Unique Digits
- 0365-Water and Jug Problem
- 0367-Valid Perfect Square
- 0371-Sum of Two Integers
- 0372-Super Pow
- 0374-Guess Number Higher or Lower
- 0382-Linked List Random Node
- 0383-Ransom Note
- 0384-Shuffle an Array
- 0386-Lexicographical Numbers
- 0387-First Unique Character in a String
- 0389-Find the Difference
- 0390-Elimination Game
- 0392-Is Subsequence
- 0393-UTF-8 Validation
- 0396-Rotate Function
- 0397-Integer Replacement
- 0398-Random Pick Index
- 0400-Nth Digit
- 0401-Binary Watch
- 0404-Sum of Left Leaves
- 0405-Convert a Number to Hexadecimal
- 0409-Longest Palindrome
- 0412-Fizz Buzz
- 0413-Arithmetic Slices
- 0414-Third Maximum Number
- 0415-Add Strings
- 0416-Partition Equal Subset Sum
- 0419-Battleships in a Board
- 0423-Reconstruct Original Digits from English
- 0427-Construct Quad Tree
- 0429-N-ary Tree Level Order Traversal
- 0430-Flatten a Multilevel Doubly Linked List
- 0433-Minimum Genetic Mutation
- 0434-Number of Segments in a String
- 0436-Find Right Interval
- 0437-Path Sum III
- 0438-Find All Anagrams in a String
- 0441-Arranging Coins
- 0442-Find All Duplicates in an Array
- 0443-String Compression
- 0445-Add Two Numbers II
- 0447-Number of Boomerangs
- 0448-Find All Numbers Disappeared in an Array
- 0449-Serialize and Deserialize BST
- 0450-Delete Node in a BST
- 0451-Sort Characters By Frequency
- 0452-Minimum Number of Arrows to Burst Balloons
- 0453-Minimum Moves to Equal Array Elements
- 0454-4Sum II
- 0455-Assign Cookies
- 0459-Repeated Substring Pattern
- 0461-Hamming Distance
- 0462-Minimum Moves to Equal Array Elements II
- 0463-Island Perimeter
- 0467-Unique Substrings in Wraparound String
- 0468-Validate IP Address
- 0470-Implement Rand10() Using Rand7()
- 0474-Ones and Zeroes
- 0475-Heaters
- 0476-Number Complement
- 0477-Total Hamming Distance
- 0478-Generate Random Point in a Circle
- 0481-Magical String
- 0482-License Key Formatting
- 0483-Smallest Good Base
- 0485-Max Consecutive Ones
- 0492-Construct the Rectangle
- 0494-Target Sum
- 0495-Teemo Attacking
- 0496-Next Greater Element I
- 0498-Diagonal Traverse
- 0500-Keyboard Row
- 0501-Find Mode in Binary Search Tree
- 0503-Next Greater Element II
- 0504-Base 7
- 0506-Relative Ranks
- 0507-Perfect Number
- 0508-Most Frequent Subtree Sum
- 0509-Fibonacci Number
- 0513-Find Bottom Left Tree Value
- 0515-Find Largest Value in Each Tree Row
- 0518-Coin Change 2
- 0520-Detect Capital
- 0521-Longest Uncommon Subsequence I
- 0524-Longest Word in Dictionary through Deleting
- 0525-Contiguous Array
- 0528-Random Pick with Weight
- 0529-Minesweeper
- 0530-Minimum Absolute Difference in BST
- 0532-K-diff Pairs in an Array
- 0535-Encode and Decode TinyURL
- 0537-Complex Number Multiplication
- 0538-Convert BST to Greater Tree
- 0539-Minimum Time Difference
- 0540-Single Element in a Sorted Array
- 0541-Reverse String II
- 0542-01 Matrix
- 0543-Diameter of Binary Tree
- 0547-Number of Provinces
- 0551-Student Attendance Record I
- 0554-Brick Wall
- 0557-Reverse Words in a String III
- 0558-Quad Tree Intersection
- 0559-Maximum Depth of N-ary Tree
- 0560-Subarray Sum Equals K
- 0561-Array Partition I
- 0563-Binary Tree Tilt
- 0565-Array Nesting
- 0566-Reshape the Matrix
- 0567-Permutation in String
- 0572-Subtree of Another Tree
- 0575-Distribute Candies
- 0576-Out of Boundary Paths
- 0581-Shortest Unsorted Continuous Subarray
- 0589-N-ary Tree Preorder Traversal
- 0590-N-ary Tree Postorder Traversal
- 0592-Fraction Addition and Subtraction
- 0593-Valid Square
- 0594-Longest Harmonious Subsequence
- 0598-Range Addition II
- 0599-Minimum Index Sum of Two Lists
- 0605-Can Place Flowers
- 0606-Construct String from Binary Tree
- 0609-Find Duplicate File in System
- 0611-Valid Triangle Number
- 0617-Merge Two Binary Trees
- 0622-Design Circular Queue
- 0623-Add One Row to Tree
- 0628-Maximum Product of Three Numbers
- 0633-Sum of Square Numbers
- 0636-Exclusive Time of Functions
- 0637-Average of Levels in Binary Tree
- 0643-Maximum Average Subarray I
- 0645-Set Mismatch
- 0647-Palindromic Substrings
- 0653-Two Sum IV - Input is a BST
- 0654-Maximum Binary Tree
- 0655-Print Binary Tree
- 0657-Robot Return to Origin
- 0658-Find K Closest Elements
- 0661-Image Smoother
- 0665-Non-decreasing Array
- 0669-Trim a Binary Search Tree
- 0670-Maximum Swap
- 0671-Second Minimum Node In a Binary Tree
- 0674-Longest Continuous Increasing Subsequence
- 0680-Valid Palindrome II
- 0682-Baseball Game
- 0686-Repeated String Match
- 0687-Longest Univalue Path
- 0688-Knight Probability in Chessboard
- 0690-Employee Importance
- 0692-Top K Frequent Words
- 0693-Binary Number with Alternating Bits
- 0695-Max Area of Island
- 0696-Count Binary Substrings
- 0697-Degree of an Array
- 0700-Search in a Binary Search Tree
- 0701-Insert into a Binary Search Tree
- 0703-Kth Largest Element in a Stream
- 0704-Binary Search
- 0705-Design HashSet
- 0706-Design HashMap
- 0707-Design Linked List
- 0709-To Lower Case
- 0710-Random Pick with Blacklist
- 0713-Subarray Product Less Than K
- 0717-1-bit and 2-bit Characters
- 0720-Longest Word in Dictionary
- 0724-Find Pivot Index
- 0725-Split Linked List in Parts
- 0728-Self Dividing Numbers
- 0733-Flood Fill
- 0735-Asteroid Collision
- 0739-Daily Temperatures
- 0743-Network Delay Time
- 0744-Find Smallest Letter Greater Than Target
- 0746-Min Cost Climbing Stairs
- 0747-Largest Number At Least Twice of Others
- 0748-Shortest Completing Word
- 0752-Open the Lock
- 0754-Reach a Number
- 0762-Prime Number of Set Bits in Binary Representation
- 0763-Partition Labels
- 0766-Toeplitz Matrix
- 0769-Max Chunks To Make Sorted
- 0771-Jewels and Stones
- 0775-Global and Local Inversions
- 0779-K-th Symbol in Grammar
- 0781-Rabbits in Forest
- 0783-Minimum Distance Between BST Nodes
- 0784-Letter Case Permutation
- 0785-Is Graph Bipartite?
- 0788-Rotated Digits
- 0789-Escape The Ghosts
- 0790-Domino and Tromino Tiling
- 0791-Custom Sort String
- 0794-Valid Tic-Tac-Toe State
- 0796-Rotate String
- 0799-Champagne Tower
- 0804-Unique Morse Code Words
- 0806-Number of Lines To Write String
- 0807-Max Increase to Keep City Skyline
- 0808-Soup Servings
- 0809-Expressive Words
- 0811-Subdomain Visit Count
- 0812-Largest Triangle Area
- 0814-Binary Tree Pruning
- 0816-Ambiguous Coordinates
- 0817-Linked List Components
- 0819-Most Common Word
- 0820-Short Encoding of Words
- 0821-Shortest Distance to a Character
- 0822-Card Flipping Game
- 0824-Goat Latin
- 0826-Most Profit Assigning Work
- 0829-Consecutive Numbers Sum
- 0830-Positions of Large Groups
- 0831-Masking Personal Information
- 0832-Flipping an Image
- 0836-Rectangle Overlap
- 0838-Push Dominoes
- 0840-Magic Squares In Grid
- 0841-Keys and Rooms
- 0844-Backspace String Compare
- 0846-Hand of Straights
- 0848-Shifting Letters
- 0849-Maximize Distance to Closest Person
- 0852-Peak Index in a Mountain Array
- 0853-Car Fleet
- 0858-Mirror Reflection
- 0859-Buddy Strings
- 0860-Lemonade Change
- 0861-Score After Flipping Matrix
- 0865-Smallest Subtree with all the Deepest Nodes
- 0866-Prime Palindrome
- 0867-Transpose Matrix
- 0868-Binary Gap
- 0869-Reordered Power of 2
- 0870-Advantage Shuffle
- 0872-Leaf-Similar Trees
- 0873-Length of Longest Fibonacci Subsequence
- 0874-Walking Robot Simulation
- 0875-Koko Eating Bananas
- 0876-Middle of the Linked List
- 0877-Stone Game
- 0881-Boats to Save People
- 0883-Projection Area of 3D Shapes
- 0884-Uncommon Words from Two Sentences
- 0885-Spiral Matrix III
- 0888-Fair Candy Swap
- 0889-Construct Binary Tree from Preorder and Postorder Traversal
- 0890-Find and Replace Pattern
- 0892-Surface Area of 3D Shapes
- 0893-Groups of Special-Equivalent Strings
- 0894-All Possible Full Binary Trees
- 0895-Maximum Frequency Stack
- 0896-Monotonic Array
- 0897-Increasing Order Search Tree
- 0900-RLE Iterator
- 0901-Online Stock Span
- 0905-Sort Array By Parity
- 0908-Smallest Range I
- 0911-Online Election
- 0912-Sort an Array
- 0914-X of a Kind in a Deck of Cards
- 0915-Partition Array into Disjoint Intervals
- 0916-Word Subsets
- 0917-Reverse Only Letters
- 0919-Complete Binary Tree Inserter
- 0921-Minimum Add to Make Parentheses Valid
- 0922-Sort Array By Parity II
- 0925-Long Pressed Name
- 0929-Unique Email Addresses
- 0930-Binary Subarrays With Sum
- 0931-Minimum Falling Path Sum
- 0933-Number of Recent Calls
- 0935-Knight Dialer
- 0937-Reorder Data in Log Files
- 0938-Range Sum of BST
- 0939-Minimum Area Rectangle
- 0941-Valid Mountain Array
- 0942-DI String Match
- 0944-Delete Columns to Make Sorted
- 0945-Minimum Increment to Make Array Unique
- 0946-Validate Stack Sequences
- 0948-Bag of Tokens
- 0949-Largest Time for Given Digits
- 0950-Reveal Cards In Increasing Order
- 0951-Flip Equivalent Binary Trees
- 0953-Verifying an Alien Dictionary
- 0954-Array of Doubled Pairs
- 0957-Prison Cells After N Days
- 0961-N-Repeated Element in Size 2N Array
- 0962-Maximum Width Ramp
- 0965-Univalued Binary Tree
- 0967-Numbers With Same Consecutive Differences
- 0969-Pancake Sorting
- 0970-Powerful Integers
- 0973-K Closest Points to Origin
- 0974-Subarray Sums Divisible by K
- 0976-Largest Perimeter Triangle
- 0977-Squares of a Sorted Array
- 0978-Longest Turbulent Subarray
- 0981-Time Based Key-Value Store
- 0984-String Without AAA or BBB
- 0985-Sum of Even Numbers After Queries
- 0986-Interval List Intersections
- 0989-Add to Array-Form of Integer
- 0991-Broken Calculator
- 0993-Cousins in Binary Tree
- 0994-Rotting Oranges
- 0997-Find the Town Judge
- 0998-Maximum Binary Tree II
- 0999-Available Captures for Rook
- 1002-Find Common Characters
- 1003-Check If Word Is Valid After Substitutions
- 1004-Max Consecutive Ones III
- 1005-Maximize Sum Of Array After K Negations
- 1006-Clumsy Factorial
- 1007-Minimum Domino Rotations For Equal Row
- 1008-Construct Binary Search Tree from Preorder Traversal
- 1009-Complement of Base 10 Integer
- 1010-Pairs of Songs With Total Durations Divisible by 60
- 1011-Capacity To Ship Packages Within D Days
- 1013-Partition Array Into Three Parts With Equal Sum
- 1014-Best Sightseeing Pair
- 1017-Convert to Base -2
- 1018-Binary Prefix Divisible By 5
- 1019-Next Greater Node In Linked List
- 1020-Number of Enclaves
- 1021-Remove Outermost Parentheses
- 1022-Sum of Root To Leaf Binary Numbers
- 1024-Video Stitching
- 1025-Divisor Game
- 1026-Maximum Difference Between Node and Ancestor
- 1028-Recover a Tree From Preorder Traversal
- 1029-Two City Scheduling
- 1030-Matrix Cells in Distance Order
- 1031-Maximum Sum of Two Non-Overlapping Subarrays
- 1033-Moving Stones Until Consecutive
- 1037-Valid Boomerang
- 1038-Binary Search Tree to Greater Sum Tree
- 1041-Robot Bounded In Circle
- 1042-Flower Planting With No Adjacent
- 1046-Last Stone Weight
- 1047-Remove All Adjacent Duplicates In String
- 1051-Height Checker
- 1052-Grumpy Bookstore Owner
- 1053-Previous Permutation With One Swap
- 1054-Distant Barcodes
- 1071-Greatest Common Divisor of Strings
- 1078-Occurrences After Bigram
- 1081-Smallest Subsequence of Distinct Characters
- 1089-Duplicate Zeros
- 1090-Largest Values From Labels
- 1091-Shortest Path in Binary Matrix
- 1093-Statistics from a Large Sample
- 1094-Car Pooling
- 1103-Distribute Candies to People
- 1104-Path In Zigzag Labelled Binary Tree
- 1108-Defanging an IP Address
- 1109-Corporate Flight Bookings
- 1110-Delete Nodes And Return Forest
- 1122-Relative Sort Array
- 1123-Lowest Common Ancestor of Deepest Leaves
- 1128-Number of Equivalent Domino Pairs
- 1131-Maximum of Absolute Value Expression
- 1137-N-th Tribonacci Number
- 1138-Alphabet Board Path
- 1139-Largest 1-Bordered Square
- 1144-Decrease Elements To Make Array Zigzag
- 1146-Snapshot Array
- 1154-Day of the Year
- 1155-Number of Dice Rolls With Target Sum
- 1160-Find Words That Can Be Formed by Characters
- 1161-Maximum Level Sum of a Binary Tree
- 1162-As Far from Land as Possible
- 1170-Compare Strings by Frequency of the Smallest Character
- 1172-Dinner Plate Stacks
- 1175-Prime Arrangements
- 1177-Can Make Palindrome from Substring
- 1184-Distance Between Bus Stops
- 1185-Day of the Week
- 1189-Maximum Number of Balloons
- 1190-Reverse Substrings Between Each Pair of Parentheses
- 1191-K-Concatenation Maximum Sum
- 1200-Minimum Absolute Difference
- 1207-Unique Number of Occurrences
- 1208-Get Equal Substrings Within Budget
- 1209-Remove All Adjacent Duplicates in String II
- 1217-Play with Chips
- 1220-Count Vowels Permutation
- 1221-Split a String in Balanced Strings
- 1222-Queens That Can Attack the King
- 1223-Dice Roll Simulation
- 1232-Check If It Is a Straight Line
- 1233-Remove Sub-Folders from the Filesystem
- 1234-Replace the Substring for Balanced String
- 1237-Find Positive Integer Solution for a Given Equation
- 1238-Circular Permutation in Binary Representation
- 1247-Minimum Swaps to Make Strings Equal
- 1248-Count Number of Nice Subarrays
- 1249-Minimum Remove to Make Valid Parentheses
- 1252-Cells with Odd Values in a Matrix
- 1253-Reconstruct a 2-Row Binary Matrix
- 1255-Maximum Score Words Formed by Letters
- 1260-Shift 2D Grid
- 1261-Find Elements in a Contaminated Binary Tree
- 1262-Greatest Sum Divisible by Three
- 1266-Minimum Time Visiting All Points
- 1267-Count Servers that Communicate
- 1268-Search Suggestions System
- 1275-Find Winner on a Tic Tac Toe Game
- 1276-Number of Burgers with No Waste of Ingredients
- 1277-Count Square Submatrices with All Ones
- 1281-Subtract the Product and Sum of Digits of an Integer
- 1282-Group the People Given the Group Size They Belong To
- 1283-Find the Smallest Divisor Given a Threshold
- 1286-Iterator for Combination
- 1287-Element Appearing More Than 25% In Sorted Array
- 1288-Remove Covered Intervals
- 1290-Convert Binary Number in a Linked List to Integer
- 1291-Sequential Digits
- 1292-Maximum Side Length of a Square with Sum Less than or Equal to Threshold
- 1295-Find Numbers with Even Number of Digits
- 1296-Divide Array in Sets of K Consecutive Numbers
- 1299-Replace Elements with Greatest Element on Right Side
- 1300-Sum of Mutated Array Closest to Target
- 1302-Deepest Leaves Sum
- 1304-Find N Unique Integers Sum up to Zero
- 1305-All Elements in Two Binary Search Trees
- 1306-Jump Game III
- 1309-Decrypt String from Alphabet to Integer Mapping
- 1310-XOR Queries of a Subarray
- 1313-Decompress Run-Length Encoded List
- 1314-Matrix Block Sum
- 1315-Sum of Nodes with Even-Valued Grandparent
- 1317-Convert Integer to the Sum of Two No-Zero Integers
- 1318-Minimum Flips to Make a OR b Equal to c
- 1323-Maximum 69 Number
- 1324-Print Words Vertically
- 1325-Delete Leaves With a Given Value
- 1328-Break a Palindrome
- 1329-Sort the Matrix Diagonally
- 1331-Rank Transform of an Array
- 1332-Remove Palindromic Subsequences
- 1333-Filter Restaurants by Vegan-Friendly, Price and Distance
- 1337-The K Weakest Rows in a Matrix
- 1338-Reduce Array Size to The Half
- 1342-Number of Steps to Reduce a Number to Zero
- 1343-Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
- 1344-Angle Between Hands of a Clock
- 1346-Check If N and Its Double Exist
- 1347-Minimum Number of Steps to Make Two Strings Anagram
- 1351-Count Negative Numbers in a Sorted Matrix
- 1352-Product of the Last K Numbers
- 1356-Sort Integers by The Number of 1 Bits
- 1357-Apply Discount Every n Orders
- 1359-Count All Valid Pickup and Delivery Options
- 1360-Number of Days Between Two Dates
- 1362-Closest Divisors
- 1365-How Many Numbers Are Smaller Than the Current Number
- 1366-Rank Teams by Votes
- 1367-Linked List in Binary Tree
- 1370-Increasing Decreasing String
- 1371-Find the Longest Substring Containing Vowels in Even Counts
- 1374-Generate a String With Characters That Have Odd Counts
- 1375-Bulb Switcher III
- 1376-Time Needed to Inform All Employees
- 1379-Find a Corresponding Node of a Binary Tree in a Clone of That Tree
- 1380-Lucky Numbers in a Matrix
- 1381-Design a Stack With Increment Operation
- 1382-Balance a Binary Search Tree
- 1385-Find the Distance Value Between Two Arrays
- 1387-Sort Integers by The Power Value
- 1389-Create Target Array in the Given Order
- 1390-Four Divisors
- 1391-Check if There is a Valid Path in a Grid
- 1394-Find Lucky Integer in an Array
- 1395-Count Number of Teams
- 1396-Design Underground System
- 1399-Count Largest Group
- 1400-Construct K Palindrome Strings
- 1401-Circle and Rectangle Overlapping
- 1402-Reducing Dishes
- 1403-Minimum Subsequence in Non-Increasing Order
- 1404-Number of Steps to Reduce a Number in Binary Representation to One
- 1405-Longest Happy String
- 1408-String Matching in an Array
- 1409-Queries on a Permutation With Key
- 1410-HTML Entity Parser
- 1413-Minimum Value to Get Positive Step by Step Sum
- 1414-Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
- 1415-The k-th Lexicographical String of All Happy Strings of Length n
- 1417-Reformat The String
- 1419-Minimum Number of Frogs Croaking
- 1422-Maximum Score After Splitting a String
- 1423-Maximum Points You Can Obtain from Cards
- 1424-Diagonal Traverse II
- 1431-Kids With the Greatest Number of Candies
- 1432-Max Difference You Can Get From Changing an Integer
- 1433-Check If a String Can Break Another String
- 1436-Destination City
- 1437-Check If All 1's Are at Least Length K Places Away
- 1441-Build an Array With Stack Operations
- 1446-Consecutive Characters
- 1447-Simplified Fractions
- 1448-Count Good Nodes in Binary Tree
- 1450-Number of Students Doing Homework at a Given Time
- 1451-Rearrange Words in a Sentence
- 1455-Check If a Word Occurs As a Prefix of Any Word in a Sentence
- 1456-Maximum Number of Vowels in a Substring of Given Length
- 1457-Pseudo-Palindromic Paths in a Binary Tree
- 1460-Make Two Arrays Equal by Reversing Sub-arrays
- 1461-Check If a String Contains All Binary Codes of Size K
- 1464-Maximum Product of Two Elements in an Array
- 1465-Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
- 1470-Shuffle the Array
- 1471-The k Strongest Values in an Array
- 1472-Design Browser History
- 1475-Final Prices With a Special Discount in a Shop
- 1476-Subrectangle Queries
- 1480-Running Sum of 1d Array
- 1481-Least Number of Unique Integers after K Removals
- 1486-XOR Operation in an Array
- 1487-Making File Names Unique
- 1488-Avoid Flood in The City
- 1491-Average Salary Excluding the Minimum and Maximum Salary
- 1492-The kth Factor of n
- 1493-Longest Subarray of 1's After Deleting One Element
- 1496-Path Crossing
- 1497-Check If Array Pairs Are Divisible by k
- 1502-Can Make Arithmetic Progression From Sequence
- 1503-Last Moment Before All Ants Fall Out of a Plank
- 1507-Reformat Date
- 1508-Range Sum of Sorted Subarray Sums
- 1509-Minimum Difference Between Largest and Smallest Value in Three Moves
- 1512-Number of Good Pairs
- 1513-Number of Substrings With Only 1s
- 1518-Water Bottles
- 1523-Count Odd Numbers in an Interval Range
- 1524-Number of Sub-arrays With Odd Sum
- 1525-Number of Good Ways to Split a String
- 1528-Shuffle String
- 1529-Bulb Switcher IV
- 1530-Number of Good Leaf Nodes Pairs
- 1534-Count Good Triplets
- 1535-Find the Winner of an Array Game
- 1539-Kth Missing Positive Number
- 1544-Make The String Great
- 1545-Find Kth Bit in Nth Binary String
- 1550-Three Consecutive Odds
- 1551-Minimum Operations to Make Array Equal
- 1556-Thousand Separator
- 1557-Minimum Number of Vertices to Reach All Nodes
- 1558-Minimum Numbers of Function Calls to Make Target Array
- 1560-Most Visited Sector in a Circular Track
- 1561-Maximum Number of Coins You Can Get
- 1566-Detect Pattern of Length M Repeated K or More Times
- 1567-Maximum Length of Subarray With Positive Product
- 1572-Matrix Diagonal Sum
- 1573-Number of Ways to Split a String
- 1576-Replace All ?'s to Avoid Consecutive Repeating Characters
- 1577-Number of Ways Where Square of Number Is Equal to Product of Two Numbers
- 1578-Minimum Time to Make Rope Colorful
- 1582-Special Positions in a Binary Matrix
- 1588-Sum of All Odd Length Subarrays
- 1590-Make Sum Divisible by P
- 1592-Rearrange Spaces Between Words
- 1594-Maximum Non Negative Product in a Matrix
- 1598-Crawler Log Folder
- 1603-Design Parking System
- 1604-Alert Using Same Key-Card Three or More Times in a One Hour Period
- 1608-Special Array With X Elements Greater Than or Equal X
- 1609-Even Odd Tree
- 1614-Maximum Nesting Depth of the Parentheses
- 1619-Mean of Array After Removing Some Elements
- 1621-Number of Sets of K Non-Overlapping Line Segments
- 1624-Largest Substring Between Two Equal Characters
- 1629-Slowest Key
- 1630-Arithmetic Subarrays
- 1631-Path With Minimum Effort
- 1636-Sort Array by Increasing Frequency
- 1637-Widest Vertical Area Between Two Points Containing No Points
- 1640-Check Array Formation Through Concatenation
- 1641-Count Sorted Vowel Strings
- 1642-Furthest Building You Can Reach
- 1646-Get Maximum in Generated Array
- 1647-Minimum Deletions to Make Character Frequencies Unique
- 1648-Sell Diminishing-Valued Colored Balls
- 1652-Defuse the Bomb
- 1656-Design an Ordered Stream
- 1658-Minimum Operations to Reduce X to Zero
- 1662-Check If Two String Arrays are Equivalent
- 1663-Smallest String With A Given Numeric Value
- 1664-Ways to Make a Fair Array
- 1668-Maximum Repeating Substring
- 1669-Merge In Between Linked Lists
- 1670-Design Front Middle Back Queue
- 1672-Richest Customer Wealth
- 1678-Goal Parser Interpretation
- 1679-Max Number of K-Sum Pairs
- 1684-Count the Number of Consistent Strings
- 1685-Sum of Absolute Differences in a Sorted Array
- 1688-Count of Matches in Tournament
- 1689-Partitioning Into Minimum Number Of Deci-Binary Numbers
- 1694-Reformat Phone Number
- 1695-Maximum Erasure Value
- 1700-Number of Students Unable to Eat Lunch
- 1701-Average Waiting Time
- 1702-Maximum Binary String After Change
- 1704-Determine if String Halves Are Alike
- 1705-Maximum Number of Eaten Apples
- 1710-Maximum Units on a Truck
- 1711-Count Good Meals
- 1712-Ways to Split Array Into Three Subarrays
- 1716-Calculate Money in Leetcode Bank
- 1720-Decode XORed Array
- 1721-Swapping Nodes in a Linked List
- 1725-Number Of Rectangles That Can Form The Largest Square
- 1726-Tuple with Same Product
- 1732-Find the Highest Altitude
- 1734-Decode XORed Permutation
- 1736-Latest Time by Replacing Hidden Digits
- 1737-Change Minimum Characters to Satisfy One of Three Conditions
- 1738-Find Kth Largest XOR Coordinate Value
- 1742-Maximum Number of Balls in a Box
- 1743-Restore the Array From Adjacent Pairs
- 1748-Sum of Unique Elements
- 1749-Maximum Absolute Sum of Any Subarray
- 1750-Minimum Length of String After Deleting Similar Ends
- 1752-Check if Array Is Sorted and Rotated
- 1753-Maximum Score From Removing Stones
- 1754-Largest Merge Of Two Strings
- 1758-Minimum Changes To Make Alternating Binary String
- 1759-Count Number of Homogenous Substrings
- 1763-Longest Nice Substring
- 1768-Merge Strings Alternately
- 1769-Minimum Number of Operations to Move All Balls to Each Box
- 1773-Count Items Matching a Rule
- 1779-Find Nearest Point That Has the Same X or Y Coordinate
- 1780-Check if Number is a Sum of Powers of Three
- 1784-Check if Binary String Has at Most One Segment of Ones
- 1785-Minimum Elements to Add to Form a Given Sum
- 1790-Check if One String Swap Can Make Strings Equal
- 1791-Find Center of Star Graph
- 1792-Maximum Average Pass Ratio
- 1796-Second Largest Digit in a String
- 1800-Maximum Ascending Subarray Sum
- 1805-Number of Different Integers in a String
- 1812-Determine Color of a Chessboard Square
- 1813-Sentence Similarity III
- 1814-Count Nice Pairs in an Array
- 1816-Truncate Sentence
- 1817-Finding the Users Active Minutes
- 1818-Minimum Absolute Sum Difference
- 1822-Sign of the Product of an Array
- 1823-Find the Winner of the Circular Game
- 1824-Minimum Sideway Jumps
- 1827-Minimum Operations to Make the Array Increasing
- 1828-Queries on Number of Points Inside a Circle
- 1829-Maximum XOR for Each Query
- 1832-Check if the Sentence Is Pangram
- 1833-Maximum Ice Cream Bars
- 1837-Sum of Digits in Base K
- 1844-Replace All Digits with Characters
- 1845-Seat Reservation Manager
- 1848-Minimum Distance to the Target Element
- 1854-Maximum Population Year
- 1855-Maximum Distance Between a Pair of Values
- 1859-Sorting the Sentence
- 1860-Incremental Memory Leak
- 1861-Rotating the Box
- 1863-Sum of All Subset XOR Totals
- 1866-Number of Ways to Rearrange Sticks With K Sticks Visible
- 1869-Longer Contiguous Segments of Ones than Zeros
- 1876-Substrings of Size Three with Distinct Characters
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
3,773 files changed
+2258
-2258
lines changedFile renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments