Leetcode solutions for π NeetCode.io
This repo hosts the solutions found on NeetCode.io including the solutions shown on the NeetCode YouTube channel. The site will periodically be updated with new solutions from this repo!
Solutions from these languages will be linked from NeetCode.io:
Python, Java, JavaScript, C++, Go, Swift, C#, TypeScript, Rust, Kotlin, Ruby, C, Scala and Dart
Solutions are also welcome for any other supported language on leetcode.com!
Please read the contributing guidlines before opening a PR
To contribute, please fork this repo and open a PR adding a missing solution from the supported languages.
If you would like to have collaborator permissions on the repo to merge your own PRs or review others' PRs please let me know.
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0206 - Reverse Linked List | ||||||||||||||
0021 - Merge Two Sorted Lists | ||||||||||||||
0234 - Palindrome Linked List | β |
β |
β |
β |
β |
β |
β |
|||||||
0203 - Remove Linked List Elements | β |
β |
β |
β |
β |
β |
β |
|||||||
0083 - Remove Duplicates From Sorted List | β |
β |
β |
β |
β |
β |
β |
|||||||
0876 - Middle of the Linked List | β |
β |
β |
|||||||||||
0160 - Intersection of Two Linked Lists | β |
β |
β |
β |
β |
β |
β |
|||||||
0143 - Reorder List | β |
β |
β |
β |
β |
|||||||||
2130 - Maximum Twin Sum Of A Linked List | β |
β |
β |
β |
β |
β |
β |
β |
||||||
0019 - Remove Nth Node From End of List | β |
β |
β |
|||||||||||
1721 - Swapping Nodes in a Linked List | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
0460 - LFU Cache | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0138 - Copy List With Random Pointer | β |
β |
β |
|||||||||||
0707 - Design Linked List | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
1472 - Design Browser History | β |
β |
β |
β |
β |
β |
β |
|||||||
0002 - Add Two Numbers | β |
|||||||||||||
0141 - Linked List Cycle | β |
β |
||||||||||||
0287 - Find The Duplicate Number | β |
β |
||||||||||||
0024 - Swap Nodes In Pairs | β |
β |
β |
β |
β |
β |
β |
β |
||||||
0148 - Sort List | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
0086 - Partition List | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
0061 - Rotate List | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||||
0092 - Reverse Linked List II | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
0622 - Design Circular Queue | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||||
0147 - Insertion Sort List | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
0725 - Split Linked List in Parts | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0146 - LRU Cache | β |
β |
β |
|||||||||||
0023 - Merge K Sorted Lists | β |
β |
β |
|||||||||||
0025 - Reverse Nodes In K Group | β |
β |
β |
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0208 - Implement Trie Prefix Tree | β |
|||||||||||||
0211 - Design Add And Search Words Data Structure | β |
β |
||||||||||||
2707 - Extra Characters in a String | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
0212 - Word Search II | β |
β |
β |
β |
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0703 - Kth Largest Element In a Stream | β |
β |
β |
|||||||||||
1046 - Last Stone Weight | β |
β |
β |
|||||||||||
0973 - K Closest Points to Origin | β |
β |
β |
β |
β |
|||||||||
0215 - Kth Largest Element In An Array | β |
β |
β |
|||||||||||
0621 - Task Scheduler | β |
β |
β |
β |
β |
|||||||||
0355 - Design Twitter | β |
β |
β |
β |
β |
β |
β |
|||||||
1675 - Minimize Deviation in Array | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
2542 - Maximum Subsequence Score | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1834 - Single Threaded Cpu | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
1845 - Seat Reservation Manager | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
1882 - Process Tasks Using Servers | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1985 - Find The Kth Largest Integer In The Array | β |
β |
β |
β |
β |
β |
β |
β |
||||||
0767 - Reorganize String | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||||
1405 - Longest Happy String | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1094 - Car Pooling | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
0295 - Find Median From Data Stream | β |
β |
β |
β |
β |
β |
||||||||
1383 - Maximum Performance of a Team | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
0502 - IPO | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0078 - Subsets | β |
β |
||||||||||||
0039 - Combination Sum | β |
β |
||||||||||||
0077 - Combinations | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||||
0046 - Permutations | β |
β |
||||||||||||
0090 - Subsets II | β |
β |
β |
|||||||||||
0040 - Combination Sum II | β |
β |
β |
β |
||||||||||
0047 - Permutations II | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||||
0079 - Word Search | β |
β |
β |
|||||||||||
0131 - Palindrome Partitioning | β |
β |
β |
|||||||||||
0093 - Restore IP Addresses | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
0017 - Letter Combinations of a Phone Number | β |
β |
β |
|||||||||||
0473 - Matchsticks to Square | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
1849 - Splitting a String Into Descending Consecutive Values | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
1980 - Find Unique Binary String | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
1239 - Maximum Length of a Concatenated String With Unique Characters | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0698 - Partition to K Equal Sum Subsets | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
0051 - N Queens | β |
β |
β |
β |
||||||||||
0052 - N Queens II | β |
β |
β |
β |
β |
β |
β |
β |
β |
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0463 - Island Perimeter | β |
β |
β |
β |
β |
β |
||||||||
0953 - Verifying An Alien Dictionary | β |
β |
β |
β |
β |
β |
||||||||
0200 - Number of Islands | β |
β |
||||||||||||
0133 - Clone Graph | β |
β |
β |
|||||||||||
0695 - Max Area of Island | β |
β |
β |
|||||||||||
1905 - Count Sub Islands | β |
β |
β |
β |
β |
β |
||||||||
0417 - Pacific Atlantic Water Flow | β |
β |
β |
β |
||||||||||
0130 - Surrounded Regions | β |
β |
β |
β |
||||||||||
1466 - Reorder Routes to Make All Paths Lead to The City Zero | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||||
0994 - Rotting Oranges | β |
β |
β |
β |
β |
|||||||||
0286 - Walls And Gates | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
0909 - Snakes And Ladders | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||||
0752 - Open The Lock | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||||
0802 - Find Eventual Safe States | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0207 - Course Schedule | β |
β |
β |
|||||||||||
0210 - Course Schedule II | β |
β |
β |
β |
β |
β |
||||||||
1462 - Course Schedule IV | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1958 - Check if Move Is Legal | β |
β |
β |
β |
β |
β |
β |
β |
||||||
0934 - Shortest Bridge | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1091 - Shortest Path in Binary Matrix | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
0684 - Redundant Connection | β |
β |
β |
β |
||||||||||
0323 - Number of Connected Components In An Undirected Graph | β |
β |
β |
β |
β |
β |
||||||||
0261 - Graph Valid Tree | β |
β |
β |
β |
β |
β |
β |
|||||||
0721 - Accounts Merge | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
2359 - Find Closest Node to Given Two Nodes | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1162 - As Far from Land as Possible | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1129 - Shortest Path with Alternating Colors | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
2477 - Minimum Fuel Cost to Report to the Capital | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
2492 - Minimum Score of a Path Between Two Cities | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1254 - Number of Closed Islands | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1020 - Number of Enclaves | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1557 - Minimum Number of Vertices to Reach all Nodes | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0785 - Is Graph Bipartite? | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0399 - Evaluate Division | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
2101 - Detonate the Maximum Bombs | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1857 - Largest Color Value in a Directed Graph | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1553 - Minimum Number of Days to Eat N Oranges | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
0127 - Word Ladder | β |
β |
β |
β |
β |
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1631 - Path with Minimum Effort | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
0332 - Reconstruct Itinerary | β |
β |
β |
β |
β |
|||||||||
1584 - Min Cost to Connect All Points | β |
β |
β |
β |
β |
|||||||||
0743 - Network Delay Time | β |
β |
β |
β |
β |
β |
β |
|||||||
1514 - Path with Maximum Probability | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
0778 - Swim In Rising Water | β |
β |
β |
β |
β |
β |
||||||||
0269 - Alien Dictionary | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
0787 - Cheapest Flights Within K Stops | β |
β |
β |
β |
β |
β |
||||||||
2421 - Number of Good Paths | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
1579 - Remove Max Number of Edges to Keep Graph Fully Traversable | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1489 - Find Critical and Pseudo Critical Edges in Minimum Spanning Tree | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0070 - Climbing Stairs | β |
|||||||||||||
0746 - Min Cost Climbing Stairs | ||||||||||||||
0198 - House Robber | β |
|||||||||||||
0213 - House Robber II | β |
|||||||||||||
0005 - Longest Palindromic Substring | β |
β |
β |
β |
||||||||||
0647 - Palindromic Substrings | β |
β |
β |
β |
||||||||||
0091 - Decode Ways | β |
β |
β |
β |
||||||||||
0322 - Coin Change | β |
β |
β |
|||||||||||
0152 - Maximum Product Subarray | β |
β |
||||||||||||
0139 - Word Break | β |
β |
β |
β |
β |
β |
||||||||
0300 - Longest Increasing Subsequence | β |
β |
β |
β |
||||||||||
0416 - Partition Equal Subset Sum | β |
β |
β |
β |
β |
β |
||||||||
0120 - Triangle | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
0740 - Delete And Earn | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
0256 - Paint House | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
0377 - Combination Sum IV | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
0279 - Perfect Squares | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
2369 - Check if There is a Valid Partition For The Array | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1856 - Maximum Subarray Min Product | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
0983 - Minimum Cost For Tickets | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
0343 - Integer Break | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||||
0673 - Number of Longest Increasing Subsequence | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
0691 - Stickers to Spell Word | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1137 - N-th Tribonacci Number | β |
β |
β |
β |
β |
β |
||||||||
1035 - Uncrossed Lines | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
2140 - Solving Questions With Brainpower | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
2466 - Count Ways to Build Good Strings | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0837 - New 21 Game | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
1626 - Best Team with no Conflicts | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1406 - Stone Game III | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0472 - Concatenated Words | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
1799 - Maximize Score after N Operations | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1964 - Find the Longest Valid Obstacle Course at Each Position | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1359 - Count all Valid Pickup and Delivery Options | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0062 - Unique Paths | β |
β |
β |
β |
||||||||||
0063 - Unique Paths II | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
1143 - Longest Common Subsequence | β |
β |
β |
|||||||||||
0516 - Longest Palindromic Subsequence | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1049 - Last Stone Weight II | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0309 - Best Time to Buy And Sell Stock With Cooldown | β |
β |
β |
|||||||||||
0518 - Coin Change II | β |
β |
β |
β |
||||||||||
0494 - Target Sum | β |
β |
β |
β |
β |
|||||||||
0097 - Interleaving String | β |
β |
β |
β |
||||||||||
0877 - Stone Game | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0064 - Minimum Path Sum | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||||
0329 - Longest Increasing Path In a Matrix | β |
β |
β |
β |
β |
β |
||||||||
0221 - Maximal Square | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||||
0474 - Ones and Zeroes | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
5782 - Maximum Alternating Subsequence Sum | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
0115 - Distinct Subsequences | β |
β |
β |
β |
β |
β |
||||||||
0072 - Edit Distance | β |
β |
β |
β |
β |
|||||||||
1220 - Count Vowels Permutation | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
0312 - Burst Balloons | β |
β |
β |
β |
β |
β |
||||||||
1866 - Number of Ways to Rearrange Sticks With K Sticks Visible | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
0010 - Regular Expression Matching | β |
β |
β |
β |
β |
|||||||||
1140 - Stone Game II | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
0926 - Flip String to Monotone Increasing | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
2218 - Maximum Value of K Coins from Piles | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
0920 - Number of Music Playlists | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1639 - Number of Ways to Form a Target String Given a Dictionary | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
0879 - Profitable Schemes | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1547 - Minimum Cost to Cut a Stick | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0053 - Maximum Subarray | β |
β |
||||||||||||
0918 - Maximum Sum Circular Subarray | β |
β |
β |
β |
β |
β |
β |
|||||||
0978 - Longest Turbulent Array | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0055 - Jump Game | β |
β |
β |
|||||||||||
0045 - Jump Game II | β |
β |
β |
|||||||||||
1871 - Jump Game VII | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
0134 - Gas Station | β |
β |
β |
|||||||||||
0846 - Hand of Straights | β |
β |
β |
β |
||||||||||
2439 - Minimize Maximum of Array | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
0649 - Dota2 Senate | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1423 - Maximum Points You Can Obtain From Cards | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1899 - Merge Triplets to Form Target Triplet | β |
β |
β |
β |
||||||||||
0763 - Partition Labels | β |
β |
β |
β |
β |
|||||||||
0678 - Valid Parenthesis String | β |
β |
β |
β |
β |
β |
||||||||
1921 - Eliminate Maximum Number of Monsters | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
1029 - Two City Scheduling | β |
β |
β |
β |
β |
β |
β |
|||||||
0646 - Maximum Length of Pair Chain | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
1647 - Minimum Deletions to Make Character Frequencies Unique | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
135- - Candy | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0057 - Insert Interval | β |
β |
β |
|||||||||||
0056 - Merge Intervals | β |
β |
β |
|||||||||||
0435 - Non Overlapping Intervals | β |
β |
β |
β |
||||||||||
0252 - Meeting Rooms | β |
β |
β |
β |
β |
β |
β |
β |
||||||
0253 - Meeting Rooms II | β |
β |
β |
β |
β |
β |
β |
|||||||
1288 - Remove Covered Intervals | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1851 - Minimum Interval to Include Each Query | β |
β |
β |
β |
β |
β |
β |
β |
||||||
0352 - Data Stream as Disjoint Intervals | β |
β |
β |
β |
β |
β |
β |
β |
β |
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0168 - Excel Sheet Column Title | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|||
1071 - Greatest Common Divisor of Strings | β |
β |
β |
β |
β |
β |
β |
β |
||||||
1523 - Count Odd Numbers in an Interval Range | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
1572 - Matrix Diagonal Sum | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0149 - Maximum Points on a Line | β |
β |
β |
β |
β |
β |
β |
β |
||||||
0048 - Rotate Image | β |
β |
||||||||||||
0054 - Spiral Matrix | β |
β |
β |
β |
||||||||||
0059 - Spiral Matrix II | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
0073 - Set Matrix Zeroes | β |
β |
β |
β |
||||||||||
0202 - Happy Number | β |
β |
||||||||||||
0066 - Plus One | β |
β |
||||||||||||
0009 - Palindrome Number | β |
β |
β |
β |
||||||||||
0263 - Ugly Number | β |
β |
β |
β |
||||||||||
1260 - Shift 2D Grid | β |
β |
β |
β |
β |
β |
β |
β |
β |
|||||
0013 - Roman to Integer | β |
β |
β |
β |
β |
β |
||||||||
0012 - Integer to Roman | β |
β |
β |
β |
β |
β |
||||||||
0050 - Pow(x, n) | β |
β |
β |
β |
||||||||||
0043 - Multiply Strings | β |
β |
β |
β |
||||||||||
2013 - Detect Squares | β |
β |
β |
β |
β |
β |
||||||||
1041 - Robot Bounded In Circle | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
0006 - Zigzag Conversion | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||||
2028 - Find Missing Observations | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0136 - Single Number | β |
|||||||||||||
0191 - Number of 1 Bits | β |
β |
||||||||||||
0338 - Counting Bits | β |
β |
||||||||||||
0190 - Reverse Bits | β |
β |
||||||||||||
0268 - Missing Number | β |
β |
||||||||||||
1470 - Shuffle the Array | β |
β |
β |
β |
β |
β |
β |
β |
||||||
0989 - Add to Array-Form of Integer | β |
β |
β |
β |
β |
β |
β |
β |
||||||
0371 - Sum of Two Integers | β |
β |
||||||||||||
0007 - Reverse Integer | β |
|||||||||||||
0067 - Add Binary | β |
β |
β |
β |
β |
β |
β |
β |
Problem | C | C++ | C# | Dart | GO | Java | JS | Kotlin | Python | Ruby | Rust | Scala | Swift | TS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2667 - Create Hello World Function | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
2620 - Counter | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
||
2665 - Counter II | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
2635 - Apply Transform over each Element in Array | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2634 - Filter Elements from Array | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2626 - Array Reduce Transformation | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2629 - Function Composition | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2666 - Allow One Function Call | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2623 - Memoize | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2632 - Curry | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2621 - Sleep | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2637 - Promise Time Limit | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2636 - Promise Pool | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2622 - Cache With Time Limit | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2627 - Debounce | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2676 - Throttle | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2628 - JSON Deep Equal | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
|
2633 - Convert Object to JSON String | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2675 - Array of Objects to Matrix | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2700 - Difference Between Two Objects | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2677 - Chunk Array | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2625 - Flatten Deeply Nested Array | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2619 - Array Prototype Last | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2631 - Group By | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2618 - Check if Object Instance of Class | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2693 - Call Function with Custom Context | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2694 - Event Emitter | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2695 - Array Wrapper | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2648 - Generate Fibonacci Sequence | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
2649 - Nested Array Generator | β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
β |
Need to update the README? Update the template instead.