Skip to content

Play Leetcode with different programming language

Notifications You must be signed in to change notification settings

nlpofwhat/Leetcode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

LeetCode

# Title c c++ python go js java Difficulty
0001 Two Sum c c++ python go Easy
0002 Add Two Numbers c c++ python go Medium
0003 Longest Substring Without Repeating Characters c c++ python go Medium
0004 Median of Two Sorted Arrays c c++ python Hard
0005 Longest Palindromic Substring c c++ python go Medium
0006 ZigZag Conversion c c++ python go Medium
0007 Reverse Integer c c++ python go Easy
0008 String to Integer (atoi) c c++ python go Medium
0009 Palindrome Number c c++ python go Easy
0010 Regular Expression Matching c c++ python go Hard
0011 Container With Most Water c c++ python go Medium
0012 Integer to Roman c c++ python go Medium
0013 Roman to Integer c c++ python go Easy
0014 Longest Common Prefix c c++ python go Easy
0015 3Sum c c++ python Medium
0016 3Sum Closest c c++ python Medium
0017 Letter Combinations of a Phone Number c c++ python Medium
0018 4Sum c c++ python Medium
0019 Remove Nth Node From End of List c c++ python Medium
0020 Valid Parentheses c c++ python Easy
0021 Merge Two Sorted Lists c c++ python Easy
0022 Generate Parentheses c c++ python Medium
0023 Merge k Sorted Lists c c++ python Hard
0024 Swap Nodes in Pairs c c++ python Medium
0025 Reverse Nodes in k-Group c c++ python Hard
0026 Remove Duplicates from Sorted Array c c++ python Easy
0027 Remove Element c c++ python Easy
0028 Implement strStr() c c++ python Easy
0029 Divide Two Integers c c++ python Medium
0030 Substring with Concatenation of All Words c c++ python Hard
0031 Next Permutation c c++ python Medium
0032 Longest Valid Parentheses c c++ python Hard
0033 Search in Rotated Sorted Array c c++ python Medium
0034 Find First and Last Position of Element in Sorted Array c c++ python Medium
0035 Search Insert Position c c++ python Easy
0036 Valid Sudoku c c++ python Medium
0037 Sudoku Solver c c++ python Hard
0038 Count and Say c c++ python Easy
0039 Combination Sum c c++ python Medium
0040 Combination Sum II c c++ python Medium
0041 First Missing Positive c c++ python Hard
0042 Trapping Rain Water c c++ python Hard
0043 Multiply Strings c c++ python Medium
0044 Wildcard Matching c c++ python Hard
0045 Jump Game II c c++ python Hard
0046 Permutations c c++ python Medium
0047 Permutations II c c++ python Medium
0048 Rotate Image c c++ python Medium
0049 Group Anagrams c c++ python Medium
0050 Pow(x, n) c c++ python Medium
0051 N-Queens c c++ python Hard
0052 N-Queens II c c++ python Hard
0053 Maximum Subarray c c++ python Easy
0054 Spiral Matrix c c++ python Medium
0055 Jump Game c c++ python Medium
0056 Merge Intervals c c++ python Medium
0057 Insert Interval c c++ python Hard
0058 Length of Last Word c c++ python Easy
0059 Spiral Matrix II c c++ python Hard
0060 Permutation Sequence c c++ python Medium
0061 Rotate List c c++ python Medium
0062 Unique Paths c c++ python Medium
0063 Unique Paths II c c++ python Medium
0064 Minimum Path Sum c c++ python Medium
0065 Valid Number c c++ python Hard
0066 Plus One c c++ python Easy
0067 Add Binary c c++ python Easy
0068 Text Justification c c++ python Hard
0069 Sqrt(x) c c++ python Easy
0070 Climbing Stairs c c++ python Easy
0071 Simplify Path c c++ python Medium
0072 Edit Distance c c++ python Hard
0073 Set Matrix Zeroes c c++ python Medium
0074 Search a 2D Matrix c c++ python Medium
0075 Sort Colors c c++ python Medium
0076 Minimum Window Substring c c++ python Easy
0077 Combinations c c++ python Medium
0078 Subsets c c++ python Medium
0079 Word Search c c++ python Medium
0080 Remove Duplicates from Sorted Array II c c++ python Medium
0081 Search in Rotated Sorted Array II c c++ python Medium
0082 Remove Duplicates from Sorted List II c c++ python Medium
0083 Remove Duplicates from Sorted List c c++ python Easy
0084 Largest Rectangle in Histogram c c++ python Hard
0085 Maximal Rectangle c c++ python Hard
0086 Partition List c c++ python Medium
0087 Scramble String c c++ python Hard
0088 Merge Sorted Array c c++ python Easy
0089 Gray Code c c++ python Medium
0090 Subsets II c c++ python Medium
0091 Decode Ways c c++ python Medium
0092 Reverse Linked List II c c++ python Medium
0093 Restore IP Addresses c c++ python Medium
0094 Binary Tree Inorder Traversal c c++ python Medium
0095 Unique Binary Search Trees II c c++ python Medium
0096 Unique Binary Search Trees c c++ python Medium
0097 Interleaving String c c++ python Medium
0098 Validate Binary Search Tree c c++ python Medium
0099 Recover Binary Search Tree c c++ python Hard
0100 Same Tree c c++ python Easy
0101 Symmetric Tree c c++ python Easy
0102 Binary Tree Level Order Traversal c c++ python Medium
0103 Binary Tree Zigzag Level Order Traversal c c++ python Medium
0104 Maximum Depth of Binary Tree c c++ python Easy
0105 Construct Binary Tree from Preorder and Inorder Traversal c c++ python Medium
0106 Construct Binary Tree from Inorder and Postorder Traversal c c++ python Medium
0107 Binary Tree Level Order Traversal II c c++ python Easy
0108 Convert Sorted Array to Binary Search Tree c c++ python Easy
0109 Convert Sorted List to Binary Search Tree c c++ python Medium
0110 Balanced Binary Tree c c++ python Easy
0111 Minimum Depth of Binary Tree c c++ python Easy
0112 Path Sum c c++ python Easy
0113 Path Sum II c c++ python Medium
0114 Flatten Binary Tree to Linked List c c++ python Medium
0115 Distinct Subsequences c c++ python Hard
0116 Populating Next Right Pointers in Each Node c c++ python Medium
0117 Populating Next Right Pointers in Each Node II c c++ python Medium
0118 Pascal's Triangle c c++ python Easy
0119 Pascal's Triangle II c c++ python Easy
0120 Triangle c c++ python Medium
0121 Best Time to Buy and Sell Stock c c++ python Easy
0122 Best Time to Buy and Sell Stock II c c++ python Easy
0123 Best Time to Buy and Sell Stock III c c++ python Hard
0124 Binary Tree Maximum Path Sum c c++ python Hard
0125 Valid Palindrome c c++ python Easy
0126 Word Ladder II c c++ python Hard
0127 Word Ladder c c++ python Medium
0128 Longest Consecutive Sequence c c++ python Hard
0129 Sum Root to Leaf Numbers c c++ python Medium
0130 Surrounded Regions c c++ python Medium
0131 Palindrome Partitioning c c++ python Medium
0132 Palindrome Partitioning II c c++ python Hard
0133 Clone Graph c c++ python Medium
0134 Gas Station c c++ python Medium
0135 Candy c c++ python Hard
0136 Single Number c c++ python Easy
0137 Single Number II c c++ python Medium
0138 Copy List with Random Pointer c c++ python Medium
0139 Word Break c c++ python Medium
0140 Word Break II c c++ python Hard
0141 Linked List Cycle c c++ python Easy
0142 Linked List Cycle II c c++ python Medium
0143 Reorder-List c c++ python Medium
0144 Binary Tree Preorder Traversal c c++ python Medium
0145 Binary Tree Postorder Traversal c c++ python Hard
0146 LRU Cache c c++ python Hard
0147 Insertion Sort List c c++ python Medium
0148 Sort List c c++ python Medium
0149 Max Points on a Line c c++ python Hard
0150 Evaluate Reverse Polish Notation c c++ python Medium
0151 Reverse Words in a String c c++ python Medium
0152 Maximum Product Subarray c c++ python Medium
0153 Find Minimum in Rotated Sorted Array c c++ python Medium
0154 Find Minimum in Rotated Sorted Array II c c++ python Hard
0155 Min Stack c c++ python Easy
0160 Intersection of Two Linked Lists c c++ python Easy
0162 Find Peak Element c c++ python Medium
0165 Compare Version Numbers c c++ python Medium
0166 Fraction to Recurring Decimal c c++ python Medium
0167 Two Sum II - Input array is sorted c c++ python Easy
0168 Excel Sheet Column Title c c++ python Easy
0169 Majority Element c c++ python Easy
0171 Excel Sheet Column Number c c++ python Easy
0172 Factorial Trailing Zeroes c c++ python Easy
0173 Binary Search Tree Iterator c c++ python Medium
0174 Dungeon Game c c++ python Hard
0179 Largest Number c c++ python Medium
0187 Repeated-DNA-Sequences c c++ python Medium
0188 Best Time to Buy and Sell Stock IV c c++ python Hard
0189 Rotate Array c c++ python Easy
0190 Reverse Bits c c++ python Easy
0191 Number of 1 Bits c c++ python Easy
0198 House Robber c c++ python Easy
0199 Binary Tree Right Side View c c++ python Medium
0200 Number of Islands c c++ python go js java Medium
0201 Bitwise AND of Numbers Range c c++ python Medium
0202 Happy Number c c++ python Easy
0203 Remove Linked List Elements c c++ python Easy
0204 Count Primes c c++ python Easy
0205 Isomorphic Strings c c++ python Easy
0206 Reverse Linked List c c++ python Easy
0207 Course Schedule c c++ python go js Medium
0208 Implement Trie (Prefix Tree) c c++ python Medium
0209 Minimum Size Subarray Sum c c++ python Medium
0210 Course Schedule II c c++ python go js Medium
0211 Add and Search Word - Data structure design c c++ python Medium
0212 Word Search II c c++ python go js Medium
0213 House Robber II c c++ python Medium
0215 Kth Largest Element in an Array c c++ python Medium
0216 Combination Sum III c c++ python Medium
0217 Contains Duplicate c c++ python Easy
0218 The Skyline Problem c c++ python go js Hard
0219 Contains Duplicate II c c++ python Easy
0221 Maximal Square c c++ python go js Medium
0222 Count Complete Tree Nodes c c++ python Medium
0223 Rectangle Area c c++ python Medium
0224 Basic Calculator c c++ python go js Hard
0226 Invert Binary Tree c c++ python Easy
0228 Summary Ranges c c++ python Medium
0229 Majority Element II c c++ python Medium
0230 Kth Smallest Element in a BST c c++ python Medium
0234 Palindrome Linked List c c++ python Medium
0235 Lowest Common Ancestor of a Binary Search Tree c c++ python Easy
0236 Lowest Common Ancestor of a Binary Tree c c++ python Medium
0237 Delete Node in a Linked List c c++ python Easy
0238 Product of Array Except Self c c++ python Medium
0239 Sliding Window Maximum c c++ python Medium
0240 Search a 2D Matrix II c c++ python Medium
0241 Different Ways to Add Parentheses c c++ python Medium
0242 Valid Anagram c c++ python Easy
0242 Binary Tree Paths c c++ python Easy
0253 Meeting Rooms II c c++ python Medium
0260 Single Number III c c++ python Medium
0263 Ugly Number c c++ python Easy
0264 Ugly Number II c c++ python Medium
0268 Missing Number c c++ python Easy
0274 H-Index c c++ python go Medium
0275 H-Index c c++ python go Medium
0278 First Bad Version c c++ python go Easy
0279 Perfect Squares c c++ python Medium
0283 Move Zeroes c c++ python Easy
0287 Find the Duplicate Number c c++ python Medium
0289 Game of Life c c++ python Medium
0290 Word Pattern c c++ python Easy
0297 Serialize and Deserialize Binary Tree c c++ python js Hard
0300 Longest Increasing Subsequence c c++ python Medium
0303 Range Sum Query - Immutable c c++ python Easy
0307 Range Sum Query - Mutable c c++ python go js Medium
0309 Best Time to Buy and Sell Stock with Cooldown c c++ python Medium
0316 Remove Duplicate Letters c c++ python Hard
0319 Bulb Switcher c c++ python Medium
0322 Coin-Change c c++ python go js java Medium
0325 Maximum Size Subarray Sum Equals k c c++ python Medium
0328 Odd Even Linked List c c++ python Medium
0331 Verify Preorder Serialization of a Binary Tree c c++ python Medium
0337 House Robber III c c++ python Medium
0341 Flatten Nested List Iterator c c++ python Medium
0343 Integer Break c c++ python Medium
0344 Reverse String c c++ python Easy
0345 Reverse Vowels of a String c c++ python Easy
0347 Top K Frequent Elements c c++ python Medium
0349 Intersection of Two Arrays c c++ python Easy
0350 Intersection of Two Arrays II c c++ python Easy
0354 Russian Doll Envelopes c c++ python Hard
0365 Water and Jug Problem c c++ python go js java Medium
0371 Sum of Two Integers c c++ python Easy
0377 Combination Sum IV c c++ python Medium
0389 Find the Difference c c++ python Easy
0392 Is Subsequence c c++ python Medium
0401 Binary Watch c c++ python Easy
0404 Sum of Left Leaves c c++ python Easy
0409 Longest Palindrome c c++ python go js java Easy
0416 Partition Equal Subset Sum c c++ python go js java Medium
0424 Longest Repeating Character Replacement c c++ python go js Medium
0435 Non-overlapping Intervals c c++ python go Medium
0437 Path Sum III c c++ python Easy
0438 Find All Anagrams in a String c c++ python Easy
0445 Add Two Numbers II c c++ python Medium
0447 Number of Boomerangs c c++ python Easy
0450 Delete Node in a BST c c++ python Medium
0451 Sort Characters By Frequency c c++ python Easy
0454 4Sum II c c++ python Medium
0455 Assign Cookies c c++ python Easy
0458 Poor Pigs c c++ python Hard
0459 Repeated Substring Pattern c c++ python go js java Easy
0462 Minimum Moves to Equal Array Elements II c c++ python Medium
0473 Matchsticks to Square c c++ python go js java Medium
0474 Ones and Zeroes c c++ python Medium
0486 Predict the Winner c c++ python Medium
0494 Target Sum c c++ python Medium
0496 Next Greater Element I c c++ python Easy
0503 Next Greater Element II c c++ python Medium
0525 Contiguous Array c c++ python Medium
0530 Minimum Absolute Difference in BST c c++ python Easy
0543 Diameter of Binary Tree c c++ python Easy
0547 Friend Circles c c++ python Medium
0560 Subarray Sum Equals K c c++ python Medium
0637 Average of Levels in Binary Tree c c++ python Easy
0650 2 Keys Keyboard c c++ python Medium
0652 Find Duplicate Subtrees c c++ python go js Medium
0653 Two Sum IV - Input is a BST c c++ python Easy
0654 Maximum Binary Tree c c++ python Medium
0684 Redundant Connection c c++ python Medium
0687 Longest Univalue Path c c++ python Easy
0695 Max Area of Island c c++ python go js java Medium
0698 Partition to K Equal Sum Subsets c c++ python go js java Medium
0733 Flood Fill c c++ python Easy
0739 Daily Temperatures c c++ python Medium
0742 Closest Leaf in a Binary Tree c c++ python Medium
0788 Rotated Digits c c++ python Easy
0793 Preimage Size of Factorial Zeroes Function c c++ python go js Hard
0820 Short Encoding of Words c c++ python go js java Medium
0824 Goat Latin c c++ python go js java Easy
0825 Friends Of Appropriate Ages c c++ python go js java Medium
0826 Most Profit Assigning Work c c++ python go js java Medium
0827 Making A Large Island c c++ python go js java Hard
0828 Unique Letter String c c++ python go js java Hard
0829 Consecutive Numbers Sum c c++ python go js java Hard
0834 Sum of Distances in Tree c c++ python Hard
0836 Rectangle Overlap c c++ python go js java Easy
0844 Backspace String Compare c c++ python Easy
0845 Longest Mountain in Array c c++ python Medium
0846 Hand of Straights c c++ python Medium
0847 Shortest Path Visiting All Nodes c c++ python go js Hard
0852 Peak Index in a Mountain Array c c++ python Easy
0857 Minimum Cost to Hire K Workers c c++ python go js java Hard
0872 Leaf-Similar Trees c c++ python Easy
0873 Length of Longest Fibonacci Subsequence c c++ python Medium
0874 Walking Robot Simulation c c++ python Easy
0876 Middle of the Linked List c c++ python go js java Easy
0891 Sum of Subsequence Widths c c++ python go js Hard
0892 Surface Area of 3D Shapes c c++ python go js java Easy
0901 Online Stock Span c c++ python Medium
0902 Numbers At Most N Given Digit Set c c++ python Hard
0907 Sum of Subarray Minimums c c++ python Medium
0914 X of a Kind in a Deck of Cards c c++ python go js java Easy
0917 Reverse Only Letters c c++ python Easy
0918 Maximum Sum Circular Subarray c c++ python Medium
0919 Complete Binary Tree Inserter c c++ python Medium
0920 Number of Music Playlists c c++ python Medium
0921 Minimum Add to Make Parentheses Valid c c++ python Medium
0922 Sort Array By Parity II c c++ python Easy
0923 3Sum With Multiplicity c c++ python Medium
0925 Long Pressed Name c c++ python Easy
0926 Flip String to Monotone Increasing c c++ python Medium
0927 Three Equal Parts c c++ python Medium
0929 Unique Email Addresses c c++ python Easy
0930 Binary Subarrays With Sum c c++ python Medium
0931 Minimum Falling Path Sum c c++ python Medium
0932 Beautiful Array c c++ python Medium
0933 Number of Recent Calls c c++ python Easy
0934 Shortest Bridge c c++ python Medium
0935 Knight Dialer c c++ python Medium
0936 Stamping The Sequence c c++ python go js Hard
0937 Reorder Log Files c c++ python Easy
0938 Range Sum of BST c c++ python Medium
0939 Minimum Area Rectangle c c++ python Medium
0940 Distinct Subsequences II c c++ python Hard
0941 Valid Mountain Array c c++ python Easy
0942 DI String Match c c++ python Easy
0943 Find the Shortest Superstring c c++ python Hard
0944 Delete Columns to Make Sorted c c++ python Easy
0945 Minimum Increment to Make Array Unique c c++ python Medium
0946 Validate Stack Sequences c c++ python go js java Medium
0947 Most Stones Removed with Same Row or Column c c++ python Medium
0948 Bag of Tokens c c++ python Medium
0949 Largest Time for Given Digits c c++ python Easy
0950 Reveal Cards In Increasing Order c c++ python Medium
0951 Flip Equivalent Binary Trees c c++ python Medium
0953 Verifying an Alien Dictionary c c++ python Easy
0954 Array of Doubled Pairs c c++ python Medium
0955 Delete Columns to Make Sorted II c c++ python Medium
0956 Tallest Billboard c c++ python Hard
0957 Prison Cells After N Days c c++ python Medium
0958 Check Completeness of a Binary Tree c c++ python Medium
0959 Regions Cut By Slashes c c++ python Medium
0960 Delete Columns to Make Sorted III c c++ python Hard
0961 N-Repeated Element in Size 2N Array c c++ python Easy
0962 Maximum Width Ramp c c++ python Medium
0963 Minimum Area Rectangle II c c++ python Medium
0965 Univalued Binary Tree c c++ python Easy
0966 Vowel Spellchecker c c++ python Medium
0967 Numbers With Same Consecutive Differences c c++ python Medium
0969 Pancake Sorting c c++ python Medium
0970 Powerful Integers c c++ python Easy
0971 Flip Binary Tree To Match Preorder Traversal c c++ python Medium
0972 Equal Rational Numbers c c++ python Hard
0973 K Closest Points to Origin c c++ python Easy
0974 Subarray Sums Divisible by K c c++ python Medium
0975 Odd Even Jump c c++ python Hard
0976 Largest Perimeter Triangle c c++ python Easy
0977 Squares of a Sorted Array c c++ python Easy
0978 Longest Turbulent Subarray c c++ python Medium
0979 Distribute Coins in Binary Tree c c++ python Medium
0980 Unique Paths III c c++ python Medium
0981 Time Based Key-Value Store c c++ python Medium
0982 Triples with Bitwise AND Equal To Zero c c++ python Hard
0983 Minimum Cost For Tickets c c++ python Medium
0984 String Without AAA or BBB c c++ python Easy
0985 Sum of Even Numbers After Queries c c++ python Easy
0986 Interval List Intersections c c++ python Medium
0987 Vertical Order Traversal of a Binary Tree c c++ python Medium
0988 Smallest String Starting From Leaf c c++ python Medium
0989 Add to Array-Form of Integer c c++ python Easy
0990 Satisfiability of Equality Equations c c++ python Medium
0991 Broken Calculator c c++ python Medium
0992 Subarrays with K Different Integers c c++ python Hard
0993 Cousins in Binary Tree c c++ python Easy
0994 Rotting Oranges c c++ python Easy
0995 Minimum Number of K Consecutive Bit Flips c c++ python Hard
0996 Number of Squareful Arrays c c++ python Hard
0997 Find the Town Judge c c++ python Easy
0998 Maximum Binary Tree II c c++ python Medium
0999 Available Captures for Rook c c++ python Easy
1001 Grid Illumination c c++ python Hard
1002 Find Common Characters c c++ python Easy
1003 Check If Word Is Valid After Substitutions c c++ python Medium
1004 Max Consecutive Ones III c c++ python Medium
1005 Maximize Sum Of Array After K Negations c c++ python Easy
1006 Clumsy Factorial c c++ python Medium
1007 Minimum Domino Rotations For Equal Row c c++ python Medium
1008 Construct Binary Search Tree from Preorder Traversal c c++ python Medium
1009 Complement of Base 10 Integer c c++ python Easy
1010 Pairs of Songs With Total Durations Divisible by 60 c c++ python Easy
1011 Capacity To Ship Packages Within D Days c c++ python Medium
1012 Numbers With Repeated Digits c c++ python Hard
1013 Partition Array Into Three Parts With Equal Sum c c++ python Easy
1014 Best Sightseeing Pair c c++ python Medium
1015 Smallest Integer Divisible by K c c++ python Medium
1017 Convert to Base -2 c c++ python Medium
1018 Binary Prefix Divisible By 5 c c++ python Easy
1019 Next Greater Node In Linked List c c++ python Medium
1020 Number of Enclaves c c++ python Medium
1021 Remove Outermost Parentheses c c++ python Easy
1022 Sum of Root To Leaf Binary Numbers c c++ python Easy
1023 Camelcase Matching c c++ python go js Medium
1024 Video Stitching c c++ python go js java Medium
1025 Divisor Game c c++ python Easy
1026 Maximum Difference Between Node and Ancestor c c++ python Medium
1027 Longest Arithmetic Sequence c c++ python go js Medium
1033 Moving Stones Until Consecutive c c++ python Easy
1034 Coloring A Border c c++ python Medium
1035 Uncrossed Lines c c++ python Medium
1037 Valid Boomerang c c++ python Medium
1038 Binary Search Tree to Greater Sum Tree c c++ python Medium
1039 Minimum Score Triangulation of Polygon c c++ python Medium
1041 Robot Bounded In Circle c c++ python go Easy
1042 Flower Planting With No Adjacent c c++ python go Easy
1043 Partition Array for Maximum Sum c c++ python go Medium
1046 Last Stone Weight c c++ python go js Easy
1047 Remove All Adjacent Duplicates In String c c++ python go js Easy
1048 Longest String Chain c c++ python go js Medium
1049 Last Stone Weight II c c++ python go js Medium
1051 Height Checker c c++ python Easy
1052 Grumpy Bookstore Owner c c++ python Medium
1053 Previous Permutation With One Swap c c++ python Medium
1054 Distant Barcodes c c++ python Medium
1064 Fixed Point c c++ python Easy
1065 Index Pairs of a String c c++ python Easy
1066 Campus Bikes II c c++ python Medium
1067 Digit Count in Range c c++ python Medium
1071 Greatest Common Divisor of Strings c c++ python go js java Easy
1072 Flip Columns For Maximum Number of Equal Rows c c++ python go js java Medium
1073 Adding Two Negabinary Numbers c c++ python go js java Medium
1074 Number of Submatrices That Sum to Target c c++ python go js java Hard
1078 Occurrences After Bigram c c++ python Easy
1079 Letter Tile Possibilities c c++ python Easy
1080 Insufficient Nodes in Root to Leaf Paths c c++ python Medium
1081 Smallest Subsequence of Distinct Characters c c++ python Medium
1085 Sum of Digits in the Minimum Number c c++ python Easy
1086 High Five c c++ python Easy
1087 Brace Expansion c c++ python Medium
1089 Duplicate Zeros c c++ python Easy
1090 Largest Values From Labels c c++ python Medium
1091 Shortest Path in Binary Matrix c c++ python go js Medium
1093 Statistics from a Large Sample c c++ python go js Medium
1094 Car Pooling c c++ python go js Medium
1095 Find in Mountain Array c c++ python go js Hard
1096 Brace Expansion II c c++ python go Hard
1099 Two Sum Less Than K c c++ python go js Easy
1100 Find K-Length Substrings With No Repeated Characters c c++ python go js Medium
1101 The Earliest Moment When Everyone Become Friends c c++ python go js Easy
1102 Path With Maximum Minimum Value c c++ python go Medium
1103 Distribute Candies to People c c++ python go Easy
1104 Path In Zigzag Labelled Binary Tree c c++ python go Medium
1105 Filling Bookcase Shelves c c++ python go Medium
1106 Parsing A Boolean Expression c c++ python go Hard
1108 Defanging an IP Address c c++ python go Easy
1109 iCorporate Flight Bookings c c++ python go Medium
1110 Delete Nodes And Return Forest c c++ python go Medium
1111 Maximum Nesting Depth of Two Valid Parentheses Strings c c++ python go Medium
1118 Number of Days in a Month c c++ python go Easy
1119 Remove Vowels from a String c c++ python go Easy
1120 Maximum Average Subtree c c++ python go Medium
1121 Divide Array Into Increasing Sequences c c++ python go Hard
1122 Relative Sort Array c c++ python go Easy
1123 Lowest Common Ancestor of Deepest Leaves c c++ python go Medium
1124 Longest Well-Performing Interval c c++ python go Medium
1125 Smallest Sufficient Team c c++ python go Hard
1128 Number of Equivalent Domino Pairs c c++ python go js Easy
1129 Shortest Path with Alternating Colors c c++ python go js Medium
1130 Minimum Cost Tree From Leaf Values c c++ python go js Medium
1131 Maximum of Absolute Value Expression c c++ python go js Medium
1133 Largest Unique Number c c++ python go js Easy
1134 Armstrong Number c c++ python go js Easy
1135 Connecting Cities With Minimum Cost c c++ python go js Medium
1136 Parallel Courses c c++ python go js Hard
1137 N-th Tribonacci Number c c++ python go js Easy
1138 Alphabet Board Path c c++ python go js Medium
1139 Largest 1-Bordered Square c c++ python go js Medium
1140 Stone Game II c c++ python go js Medium
1143 Longest Common Subsequence c c++ python go js Medium
1144 Decrease Elements To Make Array Zigzag c c++ python go js Medium
1145 Binary Tree Coloring Game c c++ python go js Medium
1146 Snapshot Array c c++ python go js Medium
1147 Longest Chunked Palindrome Decomposition c c++ python go js Hard
1150 Check If a Number Is Majority Element in a Sorted Array c c++ python go js Easy
1151 Minimum Swaps to Group All 1's Together c c++ python go js Medium
1152 Analyze User Website Visit Pattern c c++ python go js Medium
1153 String Transforms Into Another String c c++ python go js Hard
1154 Day of the Year c c++ python go js Easy
1155 Number of Dice Rolls With Target Sum c c++ python go js Medium
1156 Swap For Longest Repeated Character Substring c c++ python go js Medium
1157 Online Majority Element In Subarray c c++ python go js Hard
1160 Find Words That Can Be Formed by Characters c c++ python go js Easy
1161 Maximum Level Sum of a Binary Tree c c++ python go js Medium
1162 As Far from Land as Possible c c++ python go js Medium
1163 Last Substring in Lexicographical Order c c++ python go js Hard
1165 Single-Row Keyboard c c++ python go js Easy
1166 Design File System c c++ python go js Medium
1167 Minimum Cost to Connect Sticks c c++ python go js Medium
1168 Optimize Water Distribution in a Village c c++ python go js Hard
1169 Invalid Transactions c c++ python go js Medium
1170 Compare Strings by Frequency of the Smallest Character c c++ python go js Easy
1171 Remove Zero Sum Consecutive Nodes from Linked List c c++ python go js Medium
1172 Dinner Plate Stacks c c++ python go js Hard
1175 Prime Arrangements c c++ python go js Easy
1176 Diet Plan Performance c c++ python go js Easy
1184 Distance Between Bus Stops c c++ python go js Easy
1185 Day of the Week c c++ python go js Easy
1186 Maximum Subarray Sum with One Deletion c c++ python go js Medium
1187 Make Array Strictly Increasing c c++ python go js Hard
1189 Maximum Number of Balloons c c++ python go js Easy
1190 Reverse Substrings Between Each Pair of Parentheses c c++ python go js Medium
1191 K-Concatenation Maximum Sum c c++ python go js Medium
1192 Critical Connections in a Network c c++ python go js Hard
1196 How Many Apples Can You Put into the Basket c c++ python go js Easy
1197 Minimum Knight Moves c c++ python go js Medium
1198 Find Smallest Common Element in All Rows c c++ python go js Medium
1199 Minimum Time to Build Blocks c c++ python go js Hard
1200 Minimum Absolute Difference c c++ python go js Easy
1201 Ugly Number III c c++ python go js Medium
1202 Smallest String With Swaps c c++ python go js Medium
1207 Unique Number of Occurrences c c++ python go js Easy
1208 Get Equal Substrings Within Budget c c++ python go js Medium
1209 Remove All Adjacent Duplicates in String II c c++ python go js Medium
1210 Minimum Moves to Reach Target with Rotations c c++ python go js Hard
1213 Intersection of Three Sorted Arrays c c++ python go js Easy
1214 Two Sum BSTs c c++ python go js Medium
1215 Stepping Numbers c c++ python go js Medium
1216 Valid Palindrome III c c++ python go js Hard
1217 Play with Chips c c++ python go js Easy
1218 Longest Arithmetic Subsequence of Given Difference c c++ python go js Medium
1219 Path with Maximum Gold c c++ python go js Medium
1220 Count Vowels Permutation c c++ python go js Hard
1221 Split a String in Balanced Strings c c++ python go js Easy
1222 Queens That Can Attack the King c c++ python go js Medium
1223 Dice Roll Simulation c c++ python go js Medium
1224 Maximum Equal Frequency c c++ python go js Hard
1228 Missing Number In Arithmetic Progression c c++ python go js Easy
1229 Meeting Scheduler c c++ python go js Medium
1230 Toss Strange Coins c c++ python go js Medium
1231 Divide Chocolate c c++ python go js Hard
1232 Check If It Is a Straight Line c c++ python go js Easy
1233 Remove Sub-Folders from the Filesystem c c++ python go js Medium
1234 Replace the Substring for Balanced String c c++ python go js Medium
1235 Maximum Profit in Job Scheduling c c++ python go js Hard
1237 Find Positive Integer Solution for a Given Equation c c++ python go js Easy
1238 Circular Permutation in Binary Representation c c++ python go js Medium
1239 Maximum Length of a Concatenated String with Unique Characters c c++ python go js Medium
1240 Tiling a Rectangle with the Fewest Squares c c++ python go js Hard
1243 Array Transformation c c++ python go js java Easy
1244 Design A Leaderboard c c++ python go js java Medium
1245 Tree Diameter c c++ python go js java Medium
1246 Palindrome Removal c c++ python go js java Hard
1247 Minimum Swaps to Make Strings Equal c c++ python go js java Easy
1248 Count Number of Nice Subarrays c c++ python go js java Medium
1249 Minimum Remove to Make Valid Parentheses c c++ python go js java Medium
1250 Check If It Is a Good Array c c++ python go js java Hard
1252 Cells with Odd Values in a Matrix c c++ python go js java Easy
1253 Reconstruct a 2-Row Binary Matrix c c++ python go js java Medium
1254 Number of Closed Islands c c++ python go js java Medium
1255 Maximum Score Words Formed by Letters c c++ python go js java Hard
1256 Encode Number c c++ python go js java Medium
1257 Smallest Common Region c c++ python go js java Medium
1258 Synonymous Sentences c c++ python go js java Medium
1259 Handshakes That Don't Cross c c++ python go java Hard
1260 Shift 2D Grid c c++ python go js java Easy
1261 Find Elements in a Contaminated Binary Tree c c++ python go js java Medium
1262 Greatest Sum Divisible by Three c c++ python go js java Medium
1263 Minimum Moves to Move a Box to Their Target Location c c++ python go js java Hard
1266 Minimum Time Visiting All Points c c++ python go js java Easy
1267 Count Servers that Communicate c c++ python go js java Medium
1268 Search Suggestions System c c++ python go js java Medium
1269 Number of Ways to Stay in the Same Place After Some Steps c c++ python go js java Hard
1271 Hexspeak c c++ python go js java Easy
1272 Remove Interval c c++ python go js java Medium
1273 Delete Tree Nodes c c++ python go js java Medium
1274 Number of Ships in a Rectangle c c++ python js java Hard
1275 Find Winner on a Tic Tac Toe Game c c++ python go js java Easy
1276 Number of Burgers with No Waste of Ingredients c c++ python go js java Medium
1277 Count Square Submatrices with All Ones c c++ python go js java Medium
1278 Palindrome Partitioning III c c++ python go js java Hard
1281 Subtract the Product and Sum of Digits of an Integer c c++ python go js java Easy
1282 Group the People Given the Group Size They Belong To c c++ python go js java Medium
1283 Find the Smallest Divisor Given a Threshold c c++ python go js java Medium
1284 Minimum Number of Flips to Convert Binary Matrix to Zero Matrix c c++ python go js java Hard
1286 Iterator for Combination c c++ python go js java Medium
1287 Element Appearing More Than 25% In Sorted Array c c++ python go js java Easy
1288 Remove Covered Intervals c c++ python go js java Medium
1289 Minimum Falling Path Sum II c c++ python go js java Hard
1290 Convert Binary Number in a Linked List to Integer c c++ python go js java Easy
1291 Sequential Digits c c++ python go js java Medium
1292 Maximum Side Length of a Square with Sum Less than or Equal to Threshold c c++ python go js java Medium
1293 Shortest Path in a Grid with Obstacles Elimination c c++ python go js java Hard
1295 Find Numbers with Even Number of Digits c c++ python go js java Easy
1296 Divide Array in Sets of K Consecutive Numbers c c++ python go js java Medium
1297 Maximum Number of Occurrences of a Substring c c++ python go js java Medium
1298 Maximum Candies You Can Get from Boxes c c++ python go js java Hard
1299 Replace Elements with Greatest Element on Right Side c c++ python go js java Easy
1300 Sum of Mutated Array Closest to Target c c++ python go js java Medium
1301 Number of Paths with Max Score c c++ python go js java Hard
1302 Deepest Leaves Sum c c++ python go js java Medium
1304 Find N Unique Integers Sum up to Zero c c++ python go js java Easy
1305 All Elements in Two Binary Search Trees c c++ python go js java Medium
1306 Jump Game III c c++ python go js java Medium
1307 Verbal Arithmetic Puzzle c c++ python go js java Hard
1309 Decrypt String from Alphabet to Integer Mapping c c++ python go js java Easy
1310 XOR Queries of a Subarray c c++ python go js java Medium
1311 Get Watched Videos by Your Friends c c++ python go js java Medium
1313 Decompress Run-Length Encoded List c c++ python go js java Easy
1314 Matrix Block Sum c c++ python go js java Medium
1315 Sum of Nodes with Even-Valued Grandparent c c++ python go js java Medium
1316 Distinct Echo Substrings c c++ python go js java Hard
1317 Convert Integer to the Sum of Two No-Zero Integers c c++ python go js java Easy
1318 Minimum Flips to Make a OR b Equal to c c c++ python go js java Medium
1319 Number of Operations to Make Network Connected c c++ python go js java Medium
1320 Minimum Distance to Type a Word Using Two Fingers c c++ python go js java Hard
1323 Maximum 69 Number c c++ python go js java Easy
1324 Print Words Vertically c c++ python go js java Medium
1325 Delete Leaves With a Given Value c c++ python go js java Medium
1326 Minimum Number of Taps to Open to Water a Garden c c++ python go js java Hard
1328 Break a Palindrome c c++ python go js java Medium
1329 Sort the Matrix Diagonally c c++ python go js java Medium
1330 Reverse Subarray To Maximize Array Value c c++ python go js java Hard
1331 Rank Transform of an Array c c++ python go js java Easy
1332 Remove Palindromic Subsequences c c++ python go js java Easy
1333 Filter Restaurants by Vegan-Friendly, Price and Distance c c++ python go js java Medium
1334 Find the City With the Smallest Number of Neighbors at a Threshold Distance c c++ python go js java Medium
1335 Minimum Difficulty of a Job Schedule c c++ python go js java Hard
1337 The K Weakest Rows in a Matrix c c++ python go js java Easy
1338 Reduce Array Size to The Half c c++ python go js java Medium
1339 Maximum Product of Splitted Binary Tree c c++ python go js java Medium
1340 Jump Game V c c++ python go js java Hard
1342 Number of Steps to Reduce a Number to Zero c c++ python go js java Easy
1343 Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold c c++ python go js java Medium
1344 Angle Between Hands of a Clock c c++ python go js java Medium
1345 Jump Game IV c c++ python go js java Hard
1346 Check If N and Its Double Exist c c++ python go js java Easy
1347 Minimum Number of Steps to Make Two Strings Anagram c c++ python go js java Medium
1348 Tweet Counts Per Frequency c c++ python go js java Medium
1349 Maximum Students Taking Exam c c++ python go js java Hard
1351 Count Negative Numbers in a Sorted Matrix c c++ python go js java Easy
1352 Product of the Last K Numbers c c++ python go js java Medium
1353 Maximum Number of Events That Can Be Attended c c++ python go js java Medium
1354 Construct Target Array With Multiple Sums c c++ python go js java Hard
1356 Sort Integers by The Number of 1 Bits c c++ python go js java Easy
1357 Apply Discount Every n Orders c c++ python go js java Medium
1358 Number of Substrings Containing All Three Characters c c++ python go js java Medium
1359 Count All Valid Pickup and Delivery Options c c++ python go js java Hard
1360 Number of Days Between Two Dates c c++ python go js java Easy
1361 Validate Binary Tree Nodes c c++ python go js java Medium
1362 Closest Divisors c c++ python go js java Medium
1363 Largest Multiple of Three c c++ python go js java Hard
1365 How Many Numbers Are Smaller Than the Current Number c c++ python go js java Easy
1366 Rank Teams by Votes c c++ python go js java Medium
1367 Linked List in Binary Tree c c++ python go js java Medium
1368 Minimum Cost to Make at Least One Valid Path in a Grid c c++ python go js java Hard
1370 Increasing Decreasing String c c++ python go js java Easy
1371 Find the Longest Substring Containing Vowels in Even Counts c c++ python go js java Medium
1372 Longest ZigZag Path in a Binary Tree c c++ python go js java Medium
1373 Maximum Sum BST in Binary Tree c c++ python go js java Hard
1374 Generate a String With Characters That Have Odd Counts c c++ python go js java Easy
1375 Bulb Switcher III c c++ python go js java Medium
1376 Time Needed to Inform All Employees c c++ python go js java Medium
1377 Frog Position After T Seconds c c++ python go js java Hard
1380 Lucky Numbers in a Matrix c c++ python go js java Easy
1381 Design a Stack With Increment Operation c c++ python go js java Medium
1382 Balance a Binary Search Tree c c++ python go js java Medium
1383 Maximum Performance of a Team c c++ python go js java Hard
1385 Find the Distance Value Between Two Arrays c c++ python go js java Easy
1386 Cinema Seat Allocation c c++ python go js java Medium
1387 Sort Integers by The Power Value c c++ python go js java Medium
1388 Pizza With 3n Slices c c++ python go js java Hard
1389 Create Target Array in the Given Order c c++ python go js java Easy
1390 Four Divisors c c++ python go js java Medium
1391 Check if There is a Valid Path in a Grid c c++ python go js java Medium
1392 Longest Happy Prefix c c++ python go js java Hard
1394 Find Lucky Integer in an Array c c++ python go js java Easy
1395 Count Number of Teams c c++ python go js java Medium
1396 Design Underground System c c++ python go js java Medium
1397 Find All Good Strings c c++ python go js java Hard
1399 Count Largest Group c c++ python go js java Easy
1400 Construct K Palindrome Strings c c++ python go js java Medium
1401 Circle and Rectangle Overlapping c c++ python go js java Medium
1402 Reducing Dishes c c++ python go js java Hard
1403 Minimum Subsequence in Non-Increasing Order c c++ python go js java Easy
1404 Number of Steps to Reduce a Number in Binary Representation to One c c++ python go js java Medium
1405 Longest Happy String c c++ python go js java Medium
1406 Stone Game III c c++ python go js java Hard
1408 String Matching in an Array c c++ python go js java Easy
1409 Queries on a Permutation With Key c c++ python go js java Medium
1410 HTML Entity Parser c c++ python go js java Medium
1411 Number of Ways to Paint N×3 Grid c c++ python go js java Hard
1413 Minimum Value to Get Positive Step by Step Sum c c++ python go js java Easy
1414 Find the Minimum Number of Fibonacci Numbers Whose Sum Is K c c++ python go js java Medium
1415 The k-th Lexicographical String of All Happy Strings of Length n c c++ python go js java Medium
1416 Restore The Array c c++ python go js java Hard
1417 Reformat The String c c++ python go js java Easy
1418 Display Table of Food Orders in a Restaurant c c++ python go js java Medium
1419 Minimum Number of Frogs Croaking c c++ python go js java Medium
1420 Build Array Where You Can Find The Maximum Exactly K Comparisons c c++ python go js java Hard
1422 Maximum Score After Splitting a String c c++ python go js java Easy
1423 Maximum Points You Can Obtain from Cards c c++ python go js java Medium
1424 Diagonal Traverse II c c++ python go js java Medium
1425 Constrained Subsequence Sum c c++ python go js java Hard
1431 Kids With the Greatest Number of Candies c c++ python go js java Easy
1432 Max Difference You Can Get From Changing an Integer c c++ python go js java Medium
1433 Check If a String Can Break Another String c c++ python go js java Medium
1434 Number of Ways to Wear Different Hats to Each Other c c++ python go js java Hard
1436 Destination City c c++ python go js java Easy
1437 Check If All 1's Are at Least Length K Places Away c c++ python go js java Medium
1438 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit c c++ python go js java Medium
1439 Find the Kth Smallest Sum of a Matrix With Sorted Rows c c++ python go js java Hard
1441 Build an Array With Stack Operations c c++ python go js java Easy
1442 Count Triplets That Can Form Two Arrays of Equal XOR c c++ python go js java Medium
1443 Minimum Time to Collect All Apples in a Tree c c++ python go js java Medium
1444 Number of Ways of Cutting a Pizza c c++ python go js java Hard

About

Play Leetcode with different programming language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 36.0%
  • Python 28.9%
  • Go 14.2%
  • JavaScript 12.2%
  • Java 8.6%
  • C 0.1%