Skip to content

washing1127/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

#LeetCode The solutions of LeetCode questions.

DoneList

num title answer
0001 Two Sum python3
0002 Add Two Numbers python3
0003 Longest Substring Without Repeating Characters python3
0006 ZigZag Conversion python3 C
0007 Reverse Integer Python Java
0008 String to Integer (atoi) python3
0012 Integer to Roman python3
0013 Roman to Integer python3
0014 Longest Common Prefix python3
0017 Letter Combinations of a Phone Number python3
0020 Valid Parentheses python3
0021 Merge Two Sorted Lists python3
0022 Generate Parentheses python3
0027 Remove Element python3 Java
0028 Implement strStr python3 Java
0029 Divide Two Integers python3
0030 Substring with Concatenation of All Words python3
0035 Search Insert Position python3
0036 Valid Sudoku python3 C++
0038 Count and Say python3 C++
0042 Trapping Rain Water python3
0043 Multiply Strings python3
0049 Group Anagrams python3
0053 Maximum Subarray python3
0054 Spiral Matrix python3
0058 Length of Last Word python3 C++
0059 Spiral Matrix II python3
0061 Rotate List python3
0065 Valid Number python3
0066 Plus One python3 C++
0067 Add Binary python3
0068 Text Justification python3
0069 Sqrt(x) python3
0070 Climbing Stairs python3
0071 Simplify Path python3
0073 Set Matrix Zeroes python3
0074 Search a 2D Matrix python3
0080 Remove Duplicates from Sorted Array II python3
0081 Search in Rotated Sorted Array II python3
0082 Remove Duplicates from Sorted List II python3
0083 Remove Duplicates from Sorted List python3 Java
0086 Partition List python3
0087 Scramble String python3
0088 Merge Sorted Array python3 Java
0089 Gray Code python3
0090 Subsets II python3
0091 Decode Ways python3
0092 Reverse Linked List II python3
0115 Distinct Subsequences python3
0119 Pascal's Triangle II python3
0122 Best Time to Buy and Sell Stock II python3
0125 Valid Palindrome python3
0131 Palindrome Partitioning python3
0132 Palindrome Partitioning python3
0136 Single Number python3
0137 Single Number II python3
0138 Copy List with Random Pointer python3
0141 Linked List Cycle python3
0149 Max Points on a Line python3
0150 Evaluate Reverse Polish Notation python3
0153 Find Minimum in Rotated Sorted Array python3
0154 Find Minimum in Rotated Sorted Array II python3
0155 Min Stack python3 Java
0160 ntersection of Two Linked Lists python3
0162 Find Peak Element python3 C++
0165 Compare Version Numbers python3
0166 Fraction to Recurring Decimal python3
0168 Excel Sheet Column Title python3 Java C++
0169 Majority Element python3 Java C C++ C# GO JS Kotlin PHP Ruby Racket Rust Scala Swift TypeScript
0171 Excel Sheet Column Number python3 Java C Rust C++ JS
0172 Factorial Trailing Zeroes python3
0173 Binary Search Tree Iterator python3
0179 Largest Number python3
0187 Repeated DNA Sequences python3
0189 Rotate Array python3
0190 Reverse Bits python3 C
0191 Number of 1 Bits python3 Java C
0195 Tenth Line bash
0203 Remove Linked List Elements python3
0206 Reverse Linked List python3
0208 Implement Trie (Prefix Tree) python3
0211 Design Add and Search Words Data Structure python3
0212 Word Search II python3 C++
0213 House Robber II python3
0218 The Skyline Problem python3
0219 Contains Duplicate II python3
0220 Contains Duplicate III python3
0223 Rectangle Area python3 C++
0224 Basic Calculator python3
0227 Basic Calculator II python3
0229 Majority Element II python3
0230 Kth Smallest Element in a BST python3
0231 Power of Two python3
0232 Implement Queue using Stacks python3 Java
0233 Number of Digit One python3
0237 Delete Node in a Linked List python3
0240 Search a 2D Matrix II python3
0241 Different Ways to Add Parentheses python3
0258 Add Digits python3
0260 Single Number III python3
0263 Ugly Number python3
0268 Missing Number python3
0273 Integer to English Words python3 C++
0274 H-Index python3
0275 H-Index python3
0278 First Bad Version python3
0279 Perfect Squares python3
0264 Ugly Number II python3
0282 Expression Add Operators python3
0284 Peeking Iterator python3 C++
0292 Nim Game python3 C++
0295 Find Median from Data Stream python3
0299 Bulls and Cows python3
0300 Longest Increasing Subsequence python3
0301 Remove Invalid Parentheses python3
0303 Range Sum Query - Immutable python3 Java
0304 Range Sum Query 2D - Immutable python3 Java
0306 Additive Number python3
0307 Range Sum Query - Mutalbe python3
0310 Minimum Heights Trees C
0313 Super Ugly Number python3
0318 Maximum Product of Word Lengths Python3
0319 Bulb Switcher Python3
0324 Wiggle Sort II Python3
0326 Power of Three C++
0331 Verify Preorder Serialization of a Binary Tree python3
0334 Increasing Triplet Subsequence python3 C
0335 Self Crossing python3
0338 Counting Bits python3
0341 Flatten Nested List Iterator python3
0342 Power of Four python3
0345 Reverse Vowels of a String python3
0352 Data Stream as Disjoint Intervals python3
0354 Russian Doll Envelopes python3
0357 Count Numbers with Unique Digits C
0363 Max Sum of Rectangle No Larger Than K python3
0368 Largest Divisible Subset python3
0371 Sum of Two Integers python3
0372 Super Pow python3
0373 Find K Pairs with Smallest Sums python3
0374 Guess Number Higher or Lower python3
0375 Guess Number Higher or Lower II python3
0377 Combination Sum IV python3
0380 Insert Delete GetRandom O(1) python3
0382 Linked List Random Node python3
0383 Ransom Note C
0384 Shuffle an Array python3
0385 Mini Parser python3
0386 Lexicographical Numbers C
0388 Longest Absolute File Path python3
0390 Elimination Game python3
0391 Perfect Rectangle python3
0393 UTF-8 Validation python3
0395 Longest Substring with At Least K Repeating Characters python3
0396 Rotate Function C
0397 Integer Replacement python3
0398 Random Pick Index python3
0400 Nth Digit python3
0401 Binary Watch python3
0403 Frog Jump python3
0405 Convert a Number to Hexadecimal python3
0407 Trapping Rain Water II python3
0412 Fizz Buzz python3 C++
0413 Arithmetic Slices python3
0414 Third Maximum Number python3
0417 Pacific Atlantic Water Flow python3
0419 Battleships in a Board python3
0420 Strong Password Checker python3
0421 Maximum XOR of Two Numbers in an Array python3
0423 Reconstruct Original Digits from English python3
0427 Construct Quad Tree Python3
0429 N-ary Tree Level Order Traversal C
0430 Flatten a Multilevel Doubly Linked List python3
0432 All O'one Data Structure python3
0433 Minimum Genetic Mutation python3
0434 Number of Segments in a String python3
0435 Non-overlapping Intervals python3
0436 Find Right Interval python3
0437 Path Sum III python3
0438 Find All Anagrams in a String python3
0441 Arranging Coins python3
0442 Find All Duplicates in an Array python3
0443 String Compressing python3
0446 Arithmetic Slices II - Subsequence python3
0447 Number of Boomerangs python3 C++
0448 Find All Numbers Disappeared in an Array python3
0449 Serialize and Deserialize BST python3
0450 Delete Node in a BST python3
0451 Sort Characters By Frequency Java
0453 Minimum Moves to Equal Array Elements python3
0456 132 Pattern python3
0457 Circular Array Loop python3
0458 Poor Pigs python3
0461 Hamming Distance python3
0462 Minimum Moves to Equal Array Elements II python3
0464 Can I Win python3
0467 Unique Substrings in Warparound String python3
0468 Validate IP Address python3
0470 Implement Rand10() Using Rand7() python3
0472 Concatenated Words python3
0473 Matchsticks to Square python3
0474 Ones and Zeroes python3
0475 Heaters python3
0476 Number Complement python3
0477 Total Hamming Distance python3
0478 Generate Random Point in a Circle python3
0479 Largest Palindrome Product C
0481 Magical String python3 C
0482 License Key Formation python3
0483 Smallest Good Base python3
0485 Max Consecutive Ones python3
0488 Zuma Game python3
0492 Construct the Rectangle python3
0494 Target Sum python3
0495 Teemo Attacking python3
0496 Next Greater Element I python3
0497 Random Point in Non-overlapping Rectangles python3
0498 Diagonal Traverse python3
0500 Keyboard Row python3
0502 IPO python3 C++
0503 Next Greater Element II python3 Java
0504 Base 7 python3
0506 Relative Ranks python3
0507 Perfect Number python3
0508 Most Frequent Subtree Sum python3
0509 Fibonacci Number python3
0513 Find Bottom Left Tree Value python3
0515 Find Largest Value in Each Tree Row python3
0516 Longest Palindromic Subsequence python3
0517 Super Washing Machines python3
0518 Coin Change 2 python3
0519 Random Flip Matrix python3
0520 Detect Capital python3
0521 Longest Uncommon Subsequence I python3
0522 Longest Uncommon Subsequence II python3
0523 Continuous Subarray Sum python3
0524 Longest Word in Dcitionary Through Deletion python3 C++
0525 Continuous Array python3
0526 Beautiful Arrangement python3
0528 Random Pick with Weight python3
0532 K-diff Pairs in an Array python3
0535 Encode and Decode TinyURL python3 C
0537 Complex Number Multiplication python3
0539 Minimum Time Difference python3
0540 Single Element in a Sorted Array python3
0541 Reverse String II python3
0551 Student Attendence Record ! python3
0552 Student Ateendence Record II python3
0553 Optimal Division python3
0554 Brick Wall python3
0556 Next Greater Element III python3
0558 Logical OR of Two Binary Grids Represented as Quad-Trees python3
0559 Maximum Depth of N-ary Tree python3
0561 Array Partition I python3 Java
0563 Binary Tree Tilt python3
0564 Find the Closest Palindrome python3
0565 Array Nesting python3
0566 Reshape the Matrix python3
0567 Permutation in String python3
0575 Distribute Candies python3
0576 Out of Boundary Paths python3
0581 Shortest Unsorted Continuous Subarray python3
0583 Delete Operation for Two Strings python3
0587 Erect the Fence python3
0589 N-ary Tree Preorder Traversal python3
0590 N-ary Tree Postorder Traversal python3
0591 Tag Validator C
0593 Valid Square python3
0594 Longest Harmonious Subsequence python3
0598 Range Addition II python3
0599 Minimum Index Sum of Two List python3
0600 Non-negative Integers without Consecutive Ones python3
0606 Construct String From Binary Tree python3
0611 Valid Triangle Number python3
0622 Design Circular Queue python3 C
0623 Add One Row to Tree python3
0629 K Inverse Pairs Array python3
0630 Course Schedule II python3
0633 Sum of Square Numbers python3
0636 Exclusive Time of Functions python3
0638 Shopping Offers python3
0639 Decode Ways II python3
0640 Solve the Equation python3 Java
0641 Design Circular Deque python3
0643 Maximum Average Subarray I python3 Java
0645 Set Mismatch python3
0646 Maximum Length of Pair Chain python3
0648 Replace Wrods python3
0650 2 Keys Keyboard python3 C++
0652 Find Duplicate Subtrees python3
0653 Two Sum IV - Input is a BST python3
0654 Maximum Binary Tree python3
0655 Print Binary Tree python3
0658 Find K Closest Elements python3
0661 Image Smoother python3
0662 Maximum Width of Binary Tree python3
0664 Strange Printer python3
0665 Non-decreasing Array python3
0667 Beautiful Arrangement II python3
0668 Kth Smallest Number in Multiplication Table python3
0669 Trim a Binary Search Tree python3
0670 Maximum Swap python3
0671 Second Minimum Node Ia a Binary Tree python3
0672 Bulb Switcher II python3
0673 Number of Longest Increasing Subsequence python3
0675 Cut Off Trees for Golf Event python3
0676 Implement Magic Dictionary python3
0677 Map Sum Pairs python3
0678 Valid Parenthesis String python3 C++
0682 Baseball Game python3
0686 Repeated String Match python3
0687 Longest Univalue Path python3 C
0688 Knight Probability in Chessboard python3
0689 Maximum Sum of 3 Non-Overlapping Subarrays python3
0690 Employee Importance python3
0691 Stickers to Spell Word python3
0692 Top K Frequent Words python3
0693 Binary Number with Alternating Bits python3
0697 Degree of an Array python3
0698 Partition to K Equal Sum Subsets python3
0699 Falling Squares C
0700 Search in a Binary Search Tree python3 C
0703 Kth Largest Element in a Stream python3
0704 Binary Search C++
0705 Design HashSet python3
0706 Design HashMap JS
0707 Design Linked List python3
0709 To Lower Case Javascript
0710 Random Pick with Blacklist python3
0713 Subarray Product Less Than K python3
0715 Range Module python3
0717 1-bit and 2-bit Characters python3
0719 Find K-th Smallest Pair Distance python3
0720 Longest Word in Dictionary python3
0725 Split Linked List in Parts python3 C++
0726 Number of Atoms python3
0728 Slef Dividing Number python3
0729 My Calender I python3
0730 Count Different Palindromic Subsequences python3
0731 My Callender II python3
0732 My Callender III python3
0735 Asteroid Collision python3
0736 Parse Lisp Expression python3
0740 Delete and Earn python3
0741 Cherry Pickup python3
0743 Network Delay Time python3
0744 Find Smallest Letter Greater Than Target python3
0745 Prefix and Suffix Search python3
0747 Largest Number At Least Twice of Others python3
0748 Shortest Completing Word python3
0749 Contain Virus python3
0752 Open the Lock python3
0753 Cracking the Safe Go
0754 Reach a Number python3 C
0757 Set Intersection Size At Least Two python3
0761 Special Binary String Python3
0762 Prime Number of Set Bits in Binary Representation C
0764 Largest Plus Sign python3
0765 Couples Holding Hands python3
0766 Toeplitz Matrix python3
0768 Max Chunks To Make Sorted II python3
0769 Max Chunks To Make Sorted python3 C
0773 Sliding Puzzle python3
0775 Global and Local Inversions python3 C
0777 Swap Adjacent in LR String python3
0779 K-th Symbol in Grammar python3 C
0780 Reaching Points python3
0781 Rabbits in Forest python3
0782 Transform to Chessboard python3
0784 Letter Case Permutation python3
0786 K-th Smallest Prime Fraction python3
0787 Cheapest Flights Within K Stops python3
0788 Rotated Digits python3
0789 Escape The Ghosts python3
0790 Domino and Tromino Tiling python3
0791 Custom Sort String python3
0792 Number of Matching Subsequences python3
0793 Preimage Size of Factorial Zeroes Function python3
0794 Valid Tic-Tac State python3
0795 Number of Subarrays with Bounded Maximum C Python3
0796 Rotate String C
0797 All Paths From Source to Target python3
0798 Smallest Rotation with Highest Score python3
0799 Champagne Tower python3
0801 Minimum Swaps To Make Sequences Increasing python3
0802 Find Eventual Safe States python3
0804 Unique Morse Code Words C
0805 Split Array With Same Average Python3
0806 Number of Lines To Write String C
0807 Max Increase to Keep City Skyline python3
0808 Soup Servings python3
0809 Expressive Words python3
0810 Chalkboard XOR Game python3
0811 Subdomain Visit Count python3
0812 Largest Triangle Area python3
0813 Largest Sum of Averages python3
0814 Binary Tree Pruning python3
0815 Bus Routes python3
0816 Ambiguous Coordinates Python3
0817 Linked List Components Python3
0819 Most Common Word C
0821 Shortest Distance to a Character C
0823 Flipping an Image python3
0824 Goat Latin C
0825 Friends Of Appropriate Ages python3
0827 Making A Large Island python3
0828 Count Unique Characters of All Substrings of a Given String python3
0829 Consecutive Number Sum python3
0830 Positions of Large Groups python3
0838 Push Dominoes python3
0841 Keys and Rooms python3
0846 Hand of Straights python3
0847 Shortest Path Visiting All Nodes python3
0850 Rectangle Area II python3
0851 Loud andd Rich python3
0852 Peak Index in a Mountain Array python3
0854 K-Similar Strings python3
0855 Exam Room python3
0856 Score of Parentheses python3 C
0857 Minimum Cost to Hire K Workers python3
0862 Shortest Subarray with Sum at Least K python3
0863 All Nodes Distance K in Binary Tree python3
0864 Shortest Path to Get All keys python3
0867 Transpose Matrix python3
0868 Binary Gap C
0869 Recordered Power of 2 python3
0870 Advantage Shuffle python3
0871 Minimum Number of Refueling Stops python3
0872 Leaf-Similar Trees python3
0873 Length of Longest Fibonacci Subsequence python3
0875 Koko Eating Bananas python3
0877 Stone Game python3
0878 Nth Magical Number python3
0879 Profitable Schemes python3
0881 Boats to Save People python3
0882 Reachable Nodes In Subdivided Graph Python3
0883 Projection Area of 3D Shapes C
0884 Uncommon Words from Two Sentences python3
0886 Possible Bipartition python3
0890 Find and Replace Pattern python3
0891 Sum of Subsequence Widths python3
0895 Maximum Frequency Stack python3
0896 Monotonic Array python3
0897 Increasing Order Search Tree python3
0899 Orderly Queue python3
0901 Online Stock Span python3
0902 Numbers At Most N Given Digit Set python3
0903 Binary Subarrays With Sum python3
0904 Fruit into Baskets python3
0905 Sort Array By Parity C
0908 Smallest Range I C
0909 Snakes and ladders python3
0911 Online Election python3
0913 Cat and Mouse python3
0915 Partition Array into Disjoint Intervals python3
0917 Reverse Only Letters python3
0919 Complete Binary Tree Inserter python3
0921 Minimum Add to Make Parentheses Valid python3 C
0926 Flip String to Monotone Increasing python3
0927 Three Equal Parts python3
0929 Unique Email Addresses python3
0933 Number of Recent Calls C
0934 Shortest Bridge python3
0937 Record Data in Log Files C
0938 Range Sum of BST python3
0940 Distinct Subsquences II Python3
0942 DI String Match C
0944 Delete Columns to Make Sorted C
0946 Validate Stack Sequences Python3 C
0952 Largest Component Size by Common Factor python3
0953 Verifying an Alien Dictionary python3
0954 Array of Doubled Pairs python3
0961 N-Repeated Element in Size 2N Array python3
0965 Univalued Binary Tree python3 C
0969 Pancake Sorting python3
0978 Positions of Large Groups python3
0981 Time Based Key-Value Store python3
0987 Vertical Order Traversal of a Binary Tree python3 Java
0989 Add to Array-Form of Integer python3 Java
0992 Subarrays with K Different Integers python3
0993 Cousins in Binary Tree python3
0995 Minimum Number of K Consecutive Bit Flips python3
0997 Find the Town Judge python3
0998 Maximum Binary Tree II python3 C
1001 Grid Illumination python3
1004 Max Consecutive Ones III python3 Java
1006 Clumsy Factorial python3
1011 Capacity To Ship Packages Within D Days python3
1020 Number of Enclaves python3
1021 Remove Outermost Parentheses python3
1022 Sum of Root To Leaf Binary Numbers python3
1034 Coloring A Border python3
1035 Uncrossed Lines python3
1036 Escape a Large Maze python3
1037 Valid Boomerang python3 C
1044 Longest Duplicate Substring python3
1047 Remove All Adjacent Duplicates In String python3
1049 Last Stone Weight II python3
1051 Height Checker python3
1052 Grumpy Bookstore python3
1074 Number of Submatrices That Sum to Target python3
1078 Occurrences After Bigram python3
1089 Duplicate Zeros python3
1104 Path In Zigzag Labelled Binary Tree python3
1106 Parsing A Boolean Expression python3
1108 Defanging an IP Address python3 C
1109 Corporate Flight Bookings python3
1124 Longest Well-Performing Interval python3
1129 Shortest Path with Alternating Colors python3
1137 N-th Tribonacci Number python3
1138 Alphabet Board Path python3
1139 Largest 1-Bordered Square python3
1143 Longest Common Subsequence python3
1145 Binary Tree Coloring Game python3
1154 Day of Year python3
1161 Maximum Level Sum of a Binary Tree python3
1175 Prime Arrangements python3 C
1178 Number of Valid Words for Each Puzzle python3
1184 Distance Between Bus Stops python3
1185 Day of the Week python3
1189 Maximum Number of Balloons python3
1190 Reverse Substrings Between Each Pair of Parentheses python3
1200 Minimum Absolute Difference python3
1206 Design Skiplist python3
1208 Get Equal Substrings Within Budget python3 Java
1210 Minimum Moves to Reach Target with Rotations Python3 C
1217 Minimum Cost to Move Chips to The Same Position Python3 C
1218 Longest Arithmetic Subsequence of Given Difference Python3
1219 Path with Maximum Gold python3
1220 Count Vowels Permutation python3
1221 Split a String in Balanced Strings C++
1223 Dice Roll Simulation Javascript
1224 Maximum Equal Frequency python3
1233 Remove Sub-Folders from the Filesystem python3
1234 Replace the Substring for Balanced String python3
1235 Maximum Profit in Job Scheduling python3
1237 Find Positive Integer Solution for a Given Equation python3
1239 Maximum Length of a Concatenated String with Unique Characters python3
1250 Check If It Is a Good Array python3
1252 Cells with Odd Values in a Matrix python3
1260 Shift 2D Grid python3
1269 Number of Ways to Stay in the Same Place After Some Steps python3
1282 Group the People Given the Size Group They Belong To python3
1302 Deepest Leaves Sum python3
1305 All Elements in Two Binary Search Trees python3
1310 XOR Queries of a Subarray python3
1326 Minimum Number of Taps to Open to Water a garden python3
1331 Rank Transform of an Array python3
1332 Remove Palindromic Subsequences python3
1337 The K Weakest Rows in a Matrix python3
1342 Number of Steps to Reduce a Number to Zero python3
1345 Jump Game IV python3
1365 How Many Numbers Are Smaller Than the Current Number python3
1374 Generate a String With Characters That Have Odd Counts python3
1380 Lucky Number in a Matrix python3
1403 Minimum Subsequence in Non-Increasing Order python3
1405 Longest Happy String python3
1408 String Matching in an Array python3
1413 Minimum value to Get Positive Step by Step Sum python3 C
1414 Find the Minimum Number of Fibonacci Numbers Whose Sum is k python3
1417 Reformate the String python3 C
1418 Display Table of Food Orders in a Restaurant python3
1422 Maximum Score After Splitting a String python3 C
1423 Maximum Points You Can Obtain from Cards python3 Java
1436 Destination City python3
1438 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit python3
1441 Build an Array With Stack Operations python3
1442 Count Triplets That Can Form Two Arrays of Equal XOR python3
1446 Consecutive Characters python3
1447 Simplified Fractions python3
1449 Form Largest Integer With Digits That Add up to Target python3
1450 Number of Students Doing Homework at a Given Time python3
1455 Check If a Word Occurs As a Prefix of Any Word in a Sentence python3
1460 Make Two Arrays Equal by Reversing Sub-arrays python3
1464 Maximum Product of Two Elements in an Array python3 C
1470 Shuffle the Array python3 C
1473 Paint House III python3
1475 Final Prices With a Special Discount in a Shop python3 C
1480 Running Sum of 1d Array C++
1482 Minimum Number of Days to Make m Bouquets python3
1486 XOR Operation in an Array python3
1518 Water Bottles python3
1576 Replace All ?'s to Avoid Consecutive Repeating Characters python3
1582 Special Positions in a Binary Matrix python3
1583 Count Unhappy Friends python3
1588 Sum of All Odd Length Subarrays python3
1592 Rearrange Spaces Between Words python3
1598 Crawler Log Folder python3 C
1600 Throne Inheritance python3
1601 Maximum Number of Achievable Transfer Requests python3
1603 Design Parking System python3 Java
1604 Alert Using Same Key-Card Three or More Times in a One Hour Period python3
1606 Find Servers That Handled Most Number of Requests python3
1608 Special Array With X Elements Grater Than or Equal X python3
1609 Even Odd Tree python3
1610 Maximum Number of Visible Points python3
1614 Maximum Nesting Depth of the Parentheses python3
1619 Mean of Array After Removing Some Elements python3
1620 Coordinate With Maximum Network Quality python3
1624 Largest Substring Between Two Equal Characters python3 C
1629 Slowest Key python3
1632 Rank Transform of a Matrix python3
1636 Sort Array By Increasing Frequency python3
1640 Check Array Formation Through Concatenation python3
1646 Get Maximum in Generated Array python3
1652 Defuse the Bomb Python3
1656 Design an Ordered Stream Python3
1658 Minimum Operations to Reduce X to Zero Python3
1662 Check If Two String Array Is Equivalent C Python3
1663 Smallest String With A Given Numeric Value Python3
1664 Ways to Make a Fair Array Python3
1668 Maximum Repeating Substring Python3
1669 Merge In Between Linked Lists Python3
1672 Richest Customer Wealth C
1678 Goal parser Interpretation C
1684 Count the Number of Consistent String python3 C
1687 Delivering Boxes from Storage to Ports python3
1688 Count of Matches in Tournament python3
1691 Maximum Height by Stacking Cuboids python3
1694 Reformate Phone Number python3
1697 Checking Existence of Edge Length Limited Paths python3
1700 Number of Students Unable to Eat Lunch python3 C
1703 Minimum Adjacent Swaps for K consecutive Ones python3
1704 Determine if String Halves Are Alike python3 C
1705 Maximum Number of Eaten Apples python3
1706 Where Will the Ball Fall python3
1707 Maximum XOR With an Element From Array python3
1710 Maximum Units on a Truck python3 C
1711 Count Good Meals python3
1713 Minimum Operations to Make a Subsequence python3
1716 Calculate Money in Leetcode Bank python3
1719 Number Of Ways To Reconstruct A Tree python3
1720 Decode XORed Array python3
1723 Find Minimum Time to Finish All Jobs python3
1725 Number of Reactangles That Can Form The Largest Sequare python3
1728 Cat and Mouse II python3
1732 Find the Highest Altitude python3 C
1734 Decode XORed Permutation python3
1736 Latest Time by Replacing Hidden Digits python3
1738 Find Kth Largest XOR Coordinate Value python3
1739 Building Boxes python3
1742 Maximum Number of Balls in a Box python3
1743 Restore the Array From Adjacent Pairs python3
1744 Can You Eat Your Favorite Candy on Your Favorite Day? python3
1748 Sum of Unique Elements python3
1750 Minimum Length of String After Deleting Similar Ends python3 C
1752 Check if Array Is Sorted and Rotated python3
1753 Maximum Score From Removing Stones python3 C
1754 Largest Merge Of Two Strings python3
1758 Minimum Changes To Make Alternating Binary String python3 C
1759 Count Number of Homogenous Substrings python3
1760 Minimum Limit of Balls in a Bag python3
1763 Longest Nice Substring python3
1764 Form Array By Concatenating Subarrays of Another Array python3
1765 Map of Highest Peak python3
1768 Merge Strings Alternately python3 C
1769 Minimum Number of Operations to Move All Balls to Each python3
1773 Count Items Matching a Rule python3 C
1774 Closest Dessert Cost python3
1775 Equal Sum Arrays With Minimum Number of Operations python3 C
1779 Find Nearest Point That has the Same X or Y coordinate python3 C
1780 Check if Number is a Sum of Powers of Three python3
1781 Check if Binary String Has at Most One Segment of Ones python3 C
1784 Sum of Beauty of All Substrings python3
1785 Minimum Elements to Add to Form a Given Sum python3 C
1787 Make the XOR of All Segments Equal to Zero python3
1790 Check if One String Swap Can Make Strings Equal C
1791 Find Center of Star Graph python3
1792 Maximum Average Pass Ratio python3
1796 Second Largest Digit in a String python3
1797 Design Authentication Manager Javascript
1798 Maximum Number of Consecutive Values You Can Make Java
1799 Maximize Score After N Operations python3
1800 Maximum Ascending Subarray Sum python3 C
1801 Number of Orders in the Backlog python3
1802 Maximum Value at a Given Index in a Bounded Array python3
1803 Count Pairs With XOR in a Range python3
1805 Number of Different Integers in a String python3
1806 Minimum Number of Operations to Reinitialize a Permutation python3
1807 Evaluate the Bracket Pairs of a String python3
1812 Determine Color of a Chessboard Square python3
1813 Sentence Similarity III python3
1814 Count Nice Pairs in an Array python3
1815 Maximum Number of Groups Getting Fresh Donuts python3
1816 Truncate Sentence python3
1817 Finding the Users Active Minutes python3
1818 Minimum Absolute Sum Difference python3
1819 Number of Different Subsequences GCDs python3
1822 Sign of the Product of an Array C
1823 Find the Winner of the Circular Game python3
1824 Minimum Sideway Jumps python3
1825 Finding MK Average python3
1827 Minimum Operations to Make the Array Increasing python3
1828 Queries on Number of Points Inside a Circle python3
1832 Check if the Sentence Is Pangram python3 C
1833 Maximum Ice Cream Bars python3
1838 Frequency of the Most Frequent Element python3
1846 Maximum Element After Decreasing and Rearranging python3
1877 Minimize Maximum Pair Sum in Array python3
1893 Check if All the Integers in a Range Are Covered python3
1894 Find the Student that Will Replace the Chalk python3 C++
1945 Sum of Digits of String After Convert python3
1971 Find if Path Exists in Graph python3
1984 Minimum Difference Between Highest and Lowest of K Scores python3
1994 The Number of Good Subsets python3
1995 Count Special Quadruplets python3
1996 The Number of Weak Characters in the Game python3
2000 Reverse Prefix of Word python3
2006 Count Number of Pairs With Absolute Difference K python3
2011 Final Value of Variable After Performing Operations python3
2013 Detect Squares python3
2016 Maximum Difference Between Increasing Elements python3
2022 Convert 1D Array Into 2D Array python3
2024 Maximize the Confusion of an Exam python3
2027 Minimum Moves to Convert String python3 C
2028 Find Missing Observations python3
2032 Two Out of Three python3
2034 Stock Price Fluctuation python3
2037 Minimum Number of Moves to Seat Everyone python3
2038 Remove Colored Pieces if Both Neighbors are the Same Color python3
2039 The Time When The Network Becomes Idle python3
2042 Check if Numbers Are Ascending in a Sentence python3
2043 Simple Bank System python3
2044 Count Number of Maximum Bitwise-OR Subsets python3
2045 Second Minimum Time to Reach Destination python3
2046 Count Nodes With the Highest Score python3
2047 Number of Valid Words in a Sentence python3
2055 Plates Between Candles python3
2069 Stone Game IX python3
2100 Find Good Days to Rob the Bank python3
2104 Sum of Subarray Ranges python3
2180 Count Integers with Even Digit Sum python3
2185 Counting Words With a Given Prefix python3
2283 Check if Number Has Equal Digit Count and Digit Value python3
2287 Rearrange Characters to Make Target String python3
2293 Min Max Game python3
2299 Strong Password Checker II python3
2303 Calculate Amount Paid in Taxes python3
2309 Greatest English Letter in Upper and Lower Case python3
2315 Count Asterisks python3
2319 Check if Matrix Is X-Matrix python3 C
2325 Decode the Message python3
2331 Evaluate Boolean Binary Tree python3
2335 Minimum Amount of Time to Fill Cups python3
2341 Maximum Number of Pairs in Array python3
2347 Best Poker Hand python3
2351 First Letter to Appear Twice python3
LCP07 传递信息 python3
剑指Offer10 I.斐波那契数列 C++
剑指Offer15 二进制中1的个数 python3
剑指Offer22 链表中倒数第k个节点 C++
剑指Offer37 序列化二叉树 python3
剑指Offer38 字符串的排列 python3
剑指Offer42 连续子数组的最大和 python3
剑指Offer52 两个链表的第一个公共节点 python3
剑指Offer53 在排序数组中查找数字I python3
剑指Offer64 求1+2+…+n python3 Java C++
剑指OfferII029 排序的循环链表 python3
剑指OfferII041 滑动窗口的平均值 python3
剑指OfferII069 山峰数组的顶部 python3
剑指OfferII091 粉刷房子 python3
OfferII114 外星文字典 python3
OfferII115 重建序列 python3
面试题01.02 Check Permutation LCCI python3 C
?????01.05 One Away LCCI python3
?????01.08 Zero Martix LCCI python3
?????01.09 String Rotation LCCI python3
面试题04.06 Successor LCCI python3
面试题10.02 Group Anagrams LCCI python3
面试题17.09 Get Kty Magic Number LCCI python3
?????17.10 Find Majority Element LCCI python3
面试题17.11 Find Closest LCCI python3
?????17.14 Smallest K LCCI python3 C++
面试题17.19 Missing Two LCCI python3 C++
面试题17.21 Volume of Histogram LCCI python3

About

The solutions of LeetCode questions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published