◐ Shell
clean mode source ↗

GitHub - kloudnone/Leetcode

1 Two Sum Easy Solution 2 Add Two Numbers Medium Solution 3 Longest Substring Without Repeating Characters Medium Solution 9 Palindrome Number Easy Solution 13 Roman to Integer Easy Solution 20 Valid Parentheses Easy Solution 21 Merge Two Sorted Lists Easy Solution 24 Swap Nodes in Pairs Medium Solution 26 Remove Duplicates from Sorted Array Easy Solution 27 Remove Element Easy Solution 28 Find the Index of the First Occurrence in a String Medium Solution 34 Find First and Last Position of Element in Sorted Array Medium Solution 35 Search Insert Position Easy Solution 58 Length of Last Word Easy Solution 70 Climbing Stairs Easy Solution 71 Simplify Path Medium Solution 80 Remove Duplicates from Sorted Array II Medium Solution 82 Remove Duplicates from Sorted List II Medium Solution 83 Remove Duplicates from Sorted List Easy Solution 88 Merge Sorted Array Easy Solution 100 Same Tree Easy Solution 104 Maximum Depth of Binary Tree Easy Solution 116 Populating Next Right Pointers in Each Node Medium Solution 118 Pascal's Triangle Easy Solution 121 Best Time to Buy and Sell Stock Easy Solution 122 Best Time to Buy and Sell Stock II Medium Solution 134 Gas Station Medium Solution 136 Single Number Easy Solution 141 Linked List Cycle Easy Solution 142 Linked List Cycle II Medium Solution 169 Majority Element Easy Solution 175 Combine Two Tables Easy Solution 189 Rotate Array Medium Solution 191 Number of 1 Bits Easy Solution 195 Tenth Line Easy Solution 202 Happy Number Easy Solution 226 Invert Binary Tree Easy Solution 228 Summary Ranges Easy Solution 237 Delete Node in a Linked List Medium Solution 258 Add Digits Easy Solution 278 First Bad Version Easy Solution 283 Move Zeroes Easy Solution 344 Reverse String Easy Solution 410 Split Array Largest Sum Hard Solution 412 Fizz Buzz Easy Solution 438 Find All Anagrams in a String Medium Solution 441 Arranging Coins Easy Solution 442 Find All Duplicates in an Array Medium Solution 496 Next Greater Element I Easy Solution 509 Fibonacci Number Easy Solution 567 Permutation in String Medium Solution 589 N-ary Tree Preorder Traversal Easy Solution 605 Can Place Flowers Easy Solution 617 Merge Two Binary Trees Easy Solution 704 Binary Search Easy Solution 705 Design HashSet Easy Solution 706 Design HashMap Easy Solution 709 To Lower Case Easy Solution 797 All Paths From Source to Target Medium Solution 849 Maximize Distance to Closest Person Medium Solution 876 Middle of the Linked List Easy Solution 881 Boats to Save People Medium Solution 896 Monotonic Array Easy Solution 938 Range Sum of BST Easy Solution 976 Subarray Sums Divisible by K Medium Solution 976 Largest Perimeter Triangle Easy Solution 977 Squares of a Sorted Array Easy Solution 991 Broken Calculator Medium Solution 1009 Complement of Base 10 Integer Easy Solution 1010 Pairs of Songs With Total Durations Divisible by 60 Medium Solution 1051 Height Checker Easy Solution 1108 Defanging an IP Address Easy Solution 1207 Unique Number of Occurrences Easy Solution 1217 Minimum Cost to Move Chips to The Same Position Easy Solution 1232 Check If It Is a Straight Line Easy Solution 1281 Subtract the Product and Sum of Digits of an Integer Easy Solution 1290 Convert Binary Number in a Linked List to Integer Easy Solution 1332 Remove Palindromic Subsequences Easy Solution 1342 Number of Steps to Reduce a Number to Zero Easy Solution 1351 Count Negative Numbers in a Sorted Matrix Easy Solution 1365 How Many Numbers Are Smaller Than the Current Number Easy Solution 1389 Create Target Array in the Given Order Easy Solution 1413 Minimum Value to Get Positive Step by Step Sum Easy Solution 1446 Consecutive Characters Easy Solution 1470 Shuffle the Array Easy Solution 1480 Running Sum of 1d Array Easy Solution 1491 Average Salary Excluding the Minimum and Maximum Salary Easy Solution 1502 Can Make Arithmetic Progression From Sequence Easy Solution 1512 Number of Good Pairs Easy Solution 1523 Count Odd Numbers in an Interval Range Easy Solution 1528 Shuffle String Easy Solution 1572 Matrix Diagonal Sum Easy Solution 1588 Sum of All Odd Length Subarrays Easy Solution 1641 Count Sorted Vowel Strings Medium Solution 1652 Defuse the Bomb Easy Solution 1672 Richest Customer Wealth Easy Solution 1684 Count the Number of Consistent Strings Easy Solution 1720 Decode XORed Array Easy Solution 1741 Find Total Time Spent by Each Employee Easy Solution 1757 Recyclable and Low Fat Products Easy Solution 1768 Merge Strings Alternately Easy Solution 1790 Check if One String Swap Can Make Strings Equal Easy Solution 1795 Rearrange Products Table Easy Solution 1822 Sign of the Product of an Array Easy Solution 1832 Check if the Sentence Is Pangram Easy Solution 1848 Minimum Distance to the Target Element Easy Solution 1909 Remove One Element to Make the Array Strictly Increasing Easy Solution 1910 Remove All Occurrences of a Substring Medium Solution 1920 Build Array from Permutation Easy Solution 1929 Concatenation of Array Easy Solution 1976 Number of Ways to Arrive at Destination Medium Solution 2011 Final Value of Variable After Performing Operations Easy Solution 2078 Two Furthest Houses With Different Colors Easy Solution 2089 Find Target Indices After Sorting Array Easy Solution 2114 Maximum Number of Words Found in Sentences Easy Solution 2206 Divide Array Into Equal Pairs Easy Solution 2220 Minimum Bit Flips to Convert Number Easy Solution 2515 Shortest Distance to Target String in a Circular Array Easy Solution 2529 Maximum Count of Positive Integer and Negative Integer Easy Solution 2553 Separate the Digits in an Array Easy Solution 2833 Furthest Point From Origin Easy Solution 2839 Check if Strings Can be Made Equal With Operations I Easy Solution 2924 Find Champion II Medium Solution 3354 Make Array Elements Equal to Zero Solution 3653 XOR After Range Multiplication Queries I Medium Solution 3783 Mirror Distance of an Integer Easy Solution