| Number | Problem | Difficulty | Links |
|---|---|---|---|
| 1 | Two Sum | Easy | Python, Java, C# |
| 2 | Add Two Numbers | Medium | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 3 | Longest Substring Without Repeating Characters | Medium | Python, Java, C#, C++, JavaScript, TypeScript |
| 7 | Reverse Integer | Medium | Python, Java, C#, C++, JavaScript, TypeScript |
| 9 | Palindrome Number | Easy | Python, Java, C# |
| 14 | Longest Common Prefix | Easy | Python, Java, C# |
| 19 | Remove Nth Node From End of List | Medium | Python, Java, C#, C++, JavaScript, TypeScript |
| 21 | Merge Two Sorted Lists | Easy | Python |
| 22 | Generate Parentheses | Medium | Python, Java, C#, C++ |
| 23 | Merge k Sorted Lists | Hard | Python |
| 26 | Remove Duplicate from Sorted Array | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 27 | Remove Element | Easy | Python, Java, C# |
| 28 | Find the Index of the First Occurrence in a String | Easy | Python, Java, C# |
| 35 | Search Insert Position | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 42 | Trapping Rain Water | Hard | Python, Java, C#, C, C++, JavaScript, TypeScript, Go |
| 43 | Multiply Strings | Medium | Python |
| 49 | Group Anagrams | Medium | Python, Java, C# |
| 56 | Merge Intervals | Medium | Python, Java, C#, C++, JavaScript, TypeScript |
| 58 | Length of Last Word | Easy | Python, Java, C# |
| 66 | Plus One | Easy | Python, Java, C# |
| 75 | Sort Colors | Medium | Python, Java, C# |
| 83 | Remove Duplicates From Sorted List | Easy | Python, Java, C# |
| 101 | Symmetric Tree | Easy | Python, Java, C#, C++, JavaScript, TypeScript |
| 121 | Best Time to Buy and Sell Stock | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 125 | Valid Palindrome | Easy | Python, Java, C# |
| 136 | Single Number | Easy | Python, Java, C#,C, C++, JavaScript, TypeScript |
| 141 | Linked List Cycle | Easy | Python, Java, C# |
| 169 | Majority Element | Easy | Python, Java, C# |
| 206 | Reverse Linked List | Easy | Python, Java, C#, C++, JavaScript, TypeScript |
| 215 | Kth Largest Element in an Array | Medium | Python |
| 217 | Contains Duplicate | Easy | Python, Java, C# |
| 219 | Contains Duplicate II | Easy | Python, Java, C# |
| 242 | Valid Anagram | Easy | Python, Java, C# |
| 283 | Move Zeroes | Easy | Python, Java, C# |
| 344 | Reverse String | Easy | Python, Java, C# |
| 359 | Logger Rate Limiter | Easy | Python, Java, C#, C++, JavaScript, TypeScript |
| 387 | First Unique Character in a String | Easy | Python, Java, C# |
| 408 | Valid Word Abbreviation | Easy | Python, Java, C#, C++ |
| 412 | Fizz Buzz | Easy | Python, Java, C# |
| 448 | Find All Numbers Disappeared in an Array | Easy | Python, Java, C# |
| 455 | Assign Cookies | Easy | Python, Java, C# |
| 485 | Max Consecutive Ones | Easy | Python, Java, C# |
| 500 | Keyboard Row | Easy | Python |
| 521 | Longest Uncommon Subsequence | Easy | Python, Java, C#, C++ |
| 551 | Student Attendence Record I | Easy | Python, Java, C# |
| 557 | Reverse Words in a String III | Easy | Python, Java |
| 560 | Subarray Sum Equals K | Medium | Java |
| 561 | Array Partition | Easy | Python, Java, C# |
| 657 | Robot Return to Origin | Easy | Python, Java, C# |
| 682 | Baseball Game | Easy | Python, Java, C# |
| 709 | To Lower Case | Easy | Python, Java, C# |
| 760 | Find Anagram Mappings | Easy | Python |
| 771 | Jewels and Stones | Easy | Python, Java, C# |
| 804 | Unique Morse Code Words | Easy | Python |
| 832 | Flipping an Image | Easy | Python |
| 867 | Transpose Matrix | Easy | Python |
| 876 | Middle of the Linked List | Easy | Python, Java, C# |
| 905 | Sort Array By Parity | Easy | Python, Java, C# |
| 961 | N-Repeated Element in Size 2N Array | Easy | Python |
| 1002 | Find Common Characters | Easy | Python, Java, C# |
| 1047 | Remove All Adjacent Duplicates in String | Easy | Python, Java, C#, C++ |
| 1085 | Sum of Digits in the Minimum Number | Easy | Python, Java, C# |
| 1086 | High Five | Easy | Python |
| 1108 | Defanging an IP Address | Easy | Python, Java, C# |
| 1119 | Remove Vowels from a String | Easy | Python, Java, C# |
| 1122 | Relative Sort Array | Easy | Python |
| 1133 | Largest Unique Number | Easy | Python, Java, C# |
| 1160 | Find Words That Can Be Formed by Characters | Easy | Python |
| 1165 | Single-Row Keyboard | Easy | Python |
| 1189 | Maximum Number of Balloons | Easy | Python, Java, C# |
| 1207 | Unique Number of Occurrences | Easy | Python |
| 1213 | Intersection of Three Sorted Arrays | Easy | Python |
| 1249 | Minimum Remove to Make Valid Parentheses | Medium | Python, Java, C#, C++, JavaScript |
| 1281 | Subtract the Product and Sum of Digits of an Integer | Easy | Python, Java, C# |
| 1295 | Find Numbers with Even Number of Digits | Easy | Python, Java, C# |
| 1299 | Replace Elements with Greatest Element on Right Side | Easy | Python, Java, C# |
| 1323 | Maximum 69 Number | Easy | Python, Java, C# |
| 1331 | Rank Transform of an Array | Easy | Python |
| 1333 | Filter Restaurants by Vegan-Friendly, Price and Distance | Medium | Python |
| 1342 | Number of Steps to Reduce a Number to Zero | Easy | Python, Java, C# |
| 1346 | Check If N and Its Double Exist | Easy | Python, Java, C# |
| 1351 | Count Negative Numbers in a Sorted Matrix | Easy | Python, Java, C# |
| 1374 | Generate a String With Characters That Have Odd Counts | Easy | Python, Java, C# |
| 1394 | Find Lucky Integer in an Array | Easy | Python, Java, C# |
| 1413 | Minimum Value to Get Positive Step by Step Sum | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 1426 | Counting Elements | Easy | Python, Java, C# |
| 1431 | Kids With the Greatest Number of Candies | Easy | Python |
| 1446 | Consecutive Characters | Easy | Python, Java, C# |
| 1450 | Number of Students Doing Homework at a Given Time | Easy | Python, Java, C# |
| 1460 | Make Two Arrays Equal by Reversing Subarrays | Easy | Python, Java, C# |
| 1464 | Maximum Product of Two Elements in an Array | Easy | Python |
| 1470 | Shuffle the Array | Easy | Python, Java, C# |
| 1480 | Running Sum of 1d Array | Easy | Python, Java, C# |
| 1491 | Average Salary Excluding the Minimum and Maximum Salary | Easy | Python, Java, C# |
| 1496 | Path Crossing | Easy | Python, Java |
| 1512 | Number of Good Pairs | Easy | Python, Java, C#, C++ |
| 1528 | Shuffle String | Easy | Python |
| 1550 | Three Consecutive Odds | Easy | Python, Java, C# |
| 1551 | Minimum Operations to make Array Equal | Medium | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 1572 | Matrix Diagonal Sum | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 1603 | Design Parking System | Easy | Python, Java, C#, C++, JavaScript, TypeScript |
| 1614 | Maximum Nesting Depth of the Parentheses | Easy | Python |
| 1636 | Sort Array by Increasing Frequency | Easy | Python |
| 1662 | Check If Two String Arrays are Equivalent | Easy | Python, Java, C#, JavaScript, TypeScript |
| 1672 | Richest Customer Wealth | Easy | Python, Java, C# |
| 1678 | Goal Parser Interpretation | Easy | Python, Java |
| 1684 | Count the Number of Consistent Strings | Easy | Python, Java |
| 1704 | Determine if String Halves Are Alike | Easy | Python |
| 1732 | Find the Highest Altitude | Easy | Python |
| 1736 | Latest Time by Replacing Hidden Digits | Easy | Python, Java, C# |
| 1748 | Sum of Unique Elements | Easy | Python, Java, C# |
| 1762 | Buildings With an Ocean View | Medium | Python, Java, C#, C++, JavaScript, TypeScript |
| 1768 | Merge Strings Alternately | Easy | Python |
| 1773 | Count Items Matching a Rule | Easy | Python |
| 1784 | Check if Binary String Has at Most One Segment of Ones | Easy | Python, Java, C#, C++ |
| 1790 | Check if One String Swap Can Make Strings Equal | Easy | Python, Java, C#, C++ |
| 1800 | Maximum Ascending Subarray Sum | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 1816 | Truncate Sentence | Easy | Python |
| 1822 | Sign of the Product of an Array | Easy | Python, Java, C# |
| 1832 | Check if the Sentence is Pangram | Easy | Python |
| 1844 | Replace All Digits with Characters | Easy | Python |
| 1848 | Minimum Distance to the Target Element | Easy | Python, Java, C# |
| 1854 | Maximum Population Year | Easy | Python |
| 1876 | Substrings of Size Three with Distinct Characters | Easy | Python |
| 1894 | Find the Student that Will Replace the Chalk | Medium | Python, Java, C#, C++, JavaScript, TypeScript |
| 1897 | Redistribute Characters to Make All Strings Equal | Easy | Python, Java, C#, C++, JavaScript, TypeScript |
| 1920 | Build Array from Permutation | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 1929 | Concatenation of Array | Easy | Python, Java, C# |
| 1935 | Maximum Number of Words You Can Type | Easy | Python |
| 1941 | Check if All Characters Have Equal Number of Occurrences | Easy | Python |
| 1967 | Number of Strings That Appear as Substrings in Word | Easy | Python |
| 1985 | Find the Kth Largest Integer in the Array | Medium | Python |
| 2000 | Reverse Prefix of Word | Easy | Python |
| 2006 | Count Number of Pairs With Absolute Difference K | Easy | Python |
| 2011 | Final Value of Variable After Performing Operations | Easy | Python, Java, C# |
| 2032 | Two Out of Three | Easy | Python |
| 2037 | Minimum Number of Moves to Seat Everyone | Easy | Python, Java, C# |
| 2042 | Check if Numbers Are Ascending in a Sentence | Easy | Python |
| 2053 | Kth Distinct String in an Array | Easy | Python |
| 2057 | Smallest Index With Equal Value | Easy | Python, Java, C# |
| 2068 | Check Whether Two Strings are Almost Equivalent | Easy | Python, Java, C# |
| 2085 | Count Common Words With One Occurrence | Easy | Python, Java, C# |
| 2089 | Find Target Indicies After Sorting | Easy | Python, Java, C# |
| 2103 | Rings and Rods | Easy | Python |
| 2108 | Find First Palindromic String in the Array | Easy | Python |
| 2109 | Adding Spaces to a String | Medium | Python, Java, C# |
| 2114 | Maximum Number of Words Found in Sentences | Easy | Python |
| 2119 | A Number After a Double Reversal | Easy | Python, Java, C#, C, C++, Javascript, TypeScript |
| 2124 | Check if All A's Appear Before All B's | Easy | Python |
| 2133 | Check if Every Row and Column Contains all Numbers | Easy | Python, Java, C# |
| 2138 | Divide a String Intro Groups of Size K | Easy | Python, Java, C# |
| 2144 | Minimum Cost of Buying Candies With Discount | Easy | Python |
| 2148 | Count Elements With Strictly Smaller and Greater Elements | Easy | Python, Java, C# |
| 2169 | Count Operations to Obtain Zero | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 2176 | Count Equal and Divisible Pairs in an Array | Easy | Python, Java, C# |
| 2185 | Counting Words With a Given Prefix | Easy | Python, Java, C# |
| 2186 | Minimum Number of Steps to Make Two Strings Anagram II | Medium | Python, Java, C#, C++ |
| 2194 | Cells in a Range on an Excel Sheet | Easy | Python, Java, C#, JavaScript, TypeScript |
| 2215 | Find the Difference of Two Arrays | Easy | Python, Java, C# |
| 2225 | Find Players With Zero or One Losses | Medium | Python |
| 2229 | Check if an Array is Consecutive | Easy | Python, Java, C# |
| 2235 | Add Two Integers | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 2239 | Find Closest Number to Zero | Easy | Python, Java, C# |
| 2248 | Intersection of Multiple Arrays | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 2255 | Count Prefixes of a Given String | Easy | Python |
| 2264 | Largest 3-Same-Digit Number in String | Easy | Python, Java, C# |
| 2270 | Number of Ways to Split Array | Medium | Python, Java, C#, C++ |
| 2273 | Find Resultant Array After Removing Anagrams | Easy | Python, Java, C#, C++, C |
| 2278 | Percentage of Letter in String | Easy | Python, Java, C# |
| 2279 | Maximum Bags With Full Capacity of Rocks | Medium | Python, Java, C# |
| 2309 | Greatest English Letter in Upper and Lower Case | Easy | Python, Java, C# |
| 2347 | Best Poker Hand | Easy | Python |
| 2348 | Number of Zero-Filled Subarrays | Medium | Python, Java, C#, C++ |
| 2351 | First Letter to Appear Twice | Easy | Python, Java, C# |
| 2363 | Merge Similar Items | Easy | Python |
| 2390 | Removing Stars From a String | Medium | Python, Java, C#, C++ |
| 2395 | Find Subarrays With Equal Sum | Easy | Python, Java, C# |
| 2396 | Strictly Palindrome Number | Medium | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 2404 | Most Frequent Even Element | Easy | Python, Java, C# |
| 2414 | Length of the Longest Alphabetical Continuous Substring | Medium | Python, Java, C# |
| 2418 | Sort the People | Easy | Python |
| 2432 | The Employee That Worked on the Longest Task | Easy | Python, Java, C#, C++, JavaScript, TypeScript |
| 2441 | Largest Positive Integer That Exists With Its Negative | Easy | Python |
| 2469 | Convert the Temperature | Easy | Python, Java, C#, C++, JavaScript, TypeScript |
| 2496 | Maximum Value of a String in an Array | Easy | Python |
| 2506 | Count Pairs of Similar Strings | Easy | Python, Java, C# |
| 2520 | Count the Digits That Divide a Number | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 2540 | Minimum Common Value | Easy | Python, Java, C# |
| 2553 | Separate the Digits in an Array | Easy | Python |
| 2535 | Difference Between Element Sum and Digit Sum of an Array | Easy | Python, Java, C# |
| 2579 | Count Total Number of Colored Cells | Medium | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 2586 | Count the Number of Vowel Strings in Range | Easy | Python, Java, C# |
| 2640 | Find the Score of All Prefixes of an Array | Medium | Python, Java, C# |
| 2643 | Row With Maximum Ones | Easy | Python, Java, C# |
| 2651 | Calculate Delayed Arrival Time | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 2656 | Maximum Sum With Exactly K Elements | Easy | Python, Java, C# |
| 2667 | Create Hello World Function | Easy | JavaScript, TypeScript |
| 2678 | Number of Senior Citizens | Easy | Python, Java, C# |
| 2706 | Buy Two Chocolates | Easy | Python, Java, C# |
| 2710 | Remove Trailing Zeroes From a String | Easy | Python |
| 2716 | Minimize String Length | Easy | Python, Java, C# |
| 2733 | Neither Minimum nor Maximum | Easy | Python, Java, C# |
| 2744 | Find Maximum Number of String Pairs | Easy | Python |
| 2769 | Find the Maximum Achievable Number | Easy | Python, Java, C# |
| 2778 | Sum of Squares of Special Elements | Easy | Python |
| 2785 | Sort Vowels in a String | Medium | Python |
| 2798 | Number of Employees Who Met the Target | Easy | Python, Java, C# |
| 2810 | Faulty Keyboard | Easy | Python |
| 2828 | Check if a String Is an Acronym of Words | Easy | Python, Java, C#, C++, JavaScript, TypeScript |
| 2839 | Check if Strings Can be Made Equal With Operations I | Easy | Python |
| 2869 | Minimum Operations to Collect Elements | Easy | Python, Java, C#, C++ |
| 2877 | Create a DataFrame from List | Easy | Python |
| 2878 | Get the Size of a DataFrame | Easy | Python |
| 2879 | Display the First Three Rows | Easy | Python |
| 2880 | Select Data | Easy | Python |
| 2881 | Create a New Column | Easy | Python |
| 2882 | Drop Duplicate Rows | Easy | Python |
| 2883 | Drop Missing Data | Easy | Python |
| 2884 | Modify Columns | Easy | Python |
| 2885 | Rename Columns | Easy | Python |
| 2886 | Change Data Type | Easy | Python |
| 2887 | Fill Missing Data | Easy | Python |
| 2888 | Reshape Data: Concatenate | Easy | Python |
| 2923 | Find Champion I | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 2942 | Find Words Containing Character | Easy | Python, Java, C# |
| 2951 | Find the Peaks | Easy | Python, Java, C# |
| 2956 | Find Common Elements Between Two Arrays | Easy | Python |
| 2974 | Minimum Number Game | Easy | Python, Java, C# |
| 3005 | Count Elements With Maximum Frequency | Easy | Python |
| 3019 | Number of Changing Keys | Easy | Python, Java, C# |
| 3028 | Ant on the Boundary | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 3046 | Split the Array | Easy | Python, Java, C# |
| 3065 | Minimum Operations to Exceed Threshold Value I | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 3099 | Harshad Number | Easy | Python, Java, C# |
| 3105 | Longest Strictly Increasing or Strictly Decreasing Subarray | Easy | Python, Java, C# |
| 3110 | Score of a String | Easy | Python, Java, C# |
| 3131 | Find the Integer Added to Array I | Easy | Python, Java, C# |
| 3146 | Permutation Difference between Two Strings | Easy | Python |
| 3147 | Taking Maximum Energy From the Mystic Dungeon | Medium | Python |
| 3151 | Special Array I | Easy | Python, Java, C# |
| 3159 | Find Occurrences of an Element in an Array | Medium | Python, Java, C#, C++ |
| 3162 | Find the Number of Good Pairs I | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 3168 | Minimum Number of Chairs in a Waiting Room | Easy | Python |
| 3186 | Maximum Total Damage Without Spell Casting | Medium | Python, Java, C++, C# |
| 3210 | Find the Encrypted String | Easy | Python |
| 3232 | Find if Digit Game Can Be Won | Easy | Python, Java, C# |
| 3242 | Design Neighbor Sum Service | Easy | Python, Java, C# |
| 3248 | Snake in Matrix | Easy | Python |
| 3285 | Find Indices of Stable Mountains | Easy | Python, Java, C# |
| 3289 | The Two Sneaky Numbers of Digitville | Easy | Python |
| 3300 | Minimum Element After Replacement With Digit Sum | Easy | Python |
| 3340 | Check Balanced String | Easy | Python |
| 3350 | Adjacent Increasing Subarrays Detection II | Medium | Python, Java, C#, C++, C |
| 3392 | Count Subarrays of Length Three with a Condition | Easy | Python, Java, C# |
| 3397 | Maximum Number of Distinct Elements After Operations | Medium | Python, Java, C#, C++ |
| 3461 | Check If Digits Are Equal in String After Operations I | Easy | Python |
| 3467 | Transform Array by Parity | Easy | Python, Java, C# |
| 3487 | Maximum Unique Subarray Sum After Deletion | Easy | Python, Java, C#, C++, JavaScript, TypeScript |
| 3498 | Reverse Degree of a String | Easy | Python |
| 3512 | Minimum Operations to Make Array Sum Divisible by k | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 3516 | Find Closest Person | Easy | Python, Java, C# |
| 3539 | Find Sum of Array Product of Magical Sequences | Hard | Python, Java, C#, C, C++, JavaScript, TypeScript, Go |
| 3541 | Find Most Frequent Vowel and Consonant | Easy | Python |
| 3581 | Count Odd Letters from Number | Easy | Python |
| 3612 | Process String with Special Operations I | Medium | Python, Java, C#, C++ |
| 3662 | Filter Characters by Frequency | Easy | Python, Java, C# |
| 3667 | Sort Array by Absolute Value | Easy | Python |
| 3668 | Restore Finishing Order | Easy | Python, Java, C#, C++ |
| 3674 | Minimum Operations to Equalize Array | Easy | Python, Java, C#, C, C++, JavaScript, TypeScript |
| 3682 | Minimum Index Sum of Common Elements | Medium | Python, Java, C# |
| 3683 | Earliest Time to Finish One Task | Easy | Python, Java, C# |
| 3718 | Smallest Missing Multiple of k | Easy | Python, Java, C#, C++ |
-
Notifications
You must be signed in to change notification settings - Fork 0
atamalu123/leetcode_editorials
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
 |  | |||
 |  | |||
Repository files navigation
About
A collection of editorials I've made on leetcode
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published