Welcome to the Vault. This isn't just a repository; it's an automated, self-updating timeline of my algorithmic journey. Every time a problem is conquered on LeetCode, a serverless pipeline instantly pulls the optimal solution, formats it, and injects it directly into this codebase. Zero manual intervention. Maximum efficiency.
| ⚡ Speed | 🧠 Complexity | 🏗️ Architecture |
|---|---|---|
| Sub-millisecond Execution | O(1) State of Mind | Fully CI/CD Automated |
sequenceDiagram
participant LC as 🟡 LeetCode Server
participant GH as 🐙 GitHub Actions (Cron)
participant Repo as 📁 The Vault
loop Every 24 Hours
GH->>LC: 📡 GET /api/submissions (Auth Token)
LC-->>GH: 📦 Return JSON (Latest Solved)
GH->>GH: ⚙️ Parse, Format & Generate Markdown
GH->>Repo: 🚀 git commit && git push
Note over Repo: Repository Updated<br/>Zero human effort
end
A dynamic mapping of the core competencies being trained and cataloged within this repository.
mindmap
root((Core Mastery))
Data Structures
Hash Maps & Sets
Linked Lists
Trees & Tries
Graphs
Optimization
Dynamic Programming
Greedy Algorithms
Sliding Window
Two Pointers
Search & Sort
Binary Search
Merge/Quick Sort
Topological Sort
Conceptual breakdown of optimal solution approaches targeted in this archive.
pie title "Targeted Time Complexities"
"O(1) / O(log N)" : 25
"O(N)" : 45
"O(N log N)" : 20
"O(N²)" : 10
How the automated bot interacts with the Git history upon solving challenges.
gitGraph
commit id: "Setup Actions"
branch bot/leetcode
checkout bot/leetcode
commit id: "Accept: Two Sum" tag: "Easy"
commit id: "Accept: Valid Parentheses" tag: "Easy"
checkout main
merge bot/leetcode id: "Sync #1"
checkout bot/leetcode
commit id: "Accept: LRU Cache" tag: "Medium"
commit id: "Accept: N-Queens" tag: "Hard"
checkout main
merge bot/leetcode id: "Sync #2"
The archive is meticulously sorted for rapid O(1) retrieval.
📂 Click to Expand Directory Tree
root@leetcode-vault:~# tree -L 2
.
├── ⚙️ .github/
│ └── 🤖 workflows/ # CI/CD Sync Engine
├── 🧠 leetcode/ # The Algorithm Core
│ ├── 🟢 Easy/ # Warm-ups & Fundamentals
│ ├── 🟡 Medium/ # Logic & Data Structures
│ └── 🔴 Hard/ # Advanced Optimization
└── 📜 README.md # System Documentation|
C++ |
Python |
Java |
JavaScript |
Actions |
Let's collaborate on system design, competitive programming, or next-gen tech.
Tip
🔍 Search by Number: Press Ctrl / Cmd + F and type the problem number (e.g., | 1 | or just 1) to jump directly to it!
| # | Problem | Language | Code |
|---|---|---|---|
| 1 | Two Sum | Python |
View |
| 2 | Add Two Numbers | Python |
View |
| 3 | Longest Substring Without Repeating Characters | Python |
View |
| 4 | Median Of Two Sorted Arrays | Python |
View |
| 5 | Longest Palindromic Substring | Python |
View |
| 6 | Zigzag Conversion | Python |
View |
| 7 | Reverse Integer | Python |
View |
| 8 | String To Integer Atoi | Python |
View |
| 9 | Palindrome Number | Python |
View |
| 10 | Regular Expression Matching | Python |
View |
| 11 | Container With Most Water | Python |
View |
| 12 | Integer To Roman | Python |
View |
| 13 | Roman To Integer | Python |
View |
| 14 | Longest Common Prefix | Python |
View |
| 15 | 3Sum | Python |
View |
| 16 | 3Sum Closest | Python |
View |
| 17 | Letter Combinations Of A Phone Number | Python |
View |
| 18 | 4Sum | Python |
View |
| 19 | Remove Nth Node From End Of List | Python |
View |
| 20 | Valid Parentheses | Python |
View |
| 21 | Merge Two Sorted Lists | Python |
View |
| 22 | Generate Parentheses | Python |
View |
| 23 | Merge K Sorted Lists | Python |
View |
| 24 | Swap Nodes In Pairs | Python |
View |
| 25 | Reverse Nodes In K Group | Python |
View |
| 26 | Remove Duplicates From Sorted Array | Python |
View |
| 27 | Remove Element | Python |
View |
| 28 | Find The Index Of The First Occurrence In A String | Python |
View |
| 29 | Divide Two Integers | Python |
View |
| 30 | Substring With Concatenation Of All Words | Python |
View |
| 31 | Next Permutation | Python |
View |
| 32 | Longest Valid Parentheses | Python |
View |
| 33 | Search In Rotated Sorted Array | Python |
View |
| 34 | Find First And Last Position Of Element In Sorted Array | Python |
View |
| 35 | Search Insert Position | Python |
View |
| 36 | Valid Sudoku | Python |
View |
| 37 | Sudoku Solver | Python |
View |
| 38 | Count And Say | Python |
View |
| 39 | Combination Sum | Python |
View |
| 40 | Combination Sum Ii | Python |
View |
| 41 | First Missing Positive | Python |
View |
| 42 | Trapping Rain Water | Python |
View |
| 43 | Multiply Strings | Python |
View |
| 44 | Wildcard Matching | Python |
View |
| 45 | Jump Game Ii | Python |
View |
| 46 | Permutations | Python |
View |
| 47 | Permutations Ii | Python |
View |
| 48 | Rotate Image | Python |
View |
| 49 | Group Anagrams | Python |
View |
| 50 | Powx N | Python |
View |
| 51 | N Queens | Python |
View |
| 52 | N Queens Ii | Python |
View |
| 53 | Maximum Subarray | Python |
View |
| 54 | Spiral Matrix | Python |
View |
| 55 | Jump Game | Python |
View |
| 56 | Merge Intervals | Python |
View |
| 57 | Insert Interval | Python |
View |
| 58 | Length Of Last Word | Python |
View |
| 59 | Spiral Matrix Ii | Python |
View |
| 60 | Permutation Sequence | Python |
View |
| 61 | Rotate List | Python |
View |
| 62 | Unique Paths | Python |
View |
| 63 | Unique Paths Ii | Python |
View |
| 64 | Minimum Path Sum | Python |
View |
| 66 | Plus One | Python |
View |
| 67 | Add Binary | Python |
View |
| 69 | Sqrtx | Python |
View |
| 70 | Climbing Stairs | Python |
View |
| 71 | Simplify Path | Python |
View |
| 72 | Edit Distance | Python |
View |
| 73 | Set Matrix Zeroes | Python |
View |
| 74 | Search A 2D Matrix | Python |
View |
| 75 | Sort Colors | Python |
View |
| 77 | Combinations | Python |
View |
| 78 | Subsets | Python |
View |
| 79 | Word Search | Python |
View |
| 80 | Remove Duplicates From Sorted Array Ii | Python |
View |
| 81 | Search In Rotated Sorted Array Ii | Python |
View |
| 82 | Remove Duplicates From Sorted List Ii | Python |
View |
| 83 | Remove Duplicates From Sorted List | Python |
View |
| 84 | Largest Rectangle In Histogram | Python |
View |
| 85 | Maximal Rectangle | Python |
View |
| 86 | Partition List | Python |
View |
| 88 | Merge Sorted Array | Python |
View |
| 89 | Gray Code | Python |
View |
| 90 | Subsets Ii | Python |
View |
| 91 | Decode Ways | Python |
View |
| 92 | Reverse Linked List Ii | Python |
View |
| 93 | Restore Ip Addresses | Python |
View |
| 94 | Binary Tree Inorder Traversal | Python |
View |
| 95 | Unique Binary Search Trees Ii | Python |
View |
| 96 | Unique Binary Search Trees | Python |
View |
| 97 | Interleaving String | Python |
View |
| 98 | Validate Binary Search Tree | Python |
View |
| 99 | Recover Binary Search Tree | Python |
View |
| 100 | Same Tree | Python |
View |
| 101 | Symmetric Tree | Python |
View |
| 102 | Binary Tree Level Order Traversal | Python |
View |
| 103 | Binary Tree Zigzag Level Order Traversal | Python |
View |
| 104 | Maximum Depth Of Binary Tree | Python |
View |
| 105 | Construct Binary Tree From Preorder And Inorder Traversal | Python |
View |
| 106 | Construct Binary Tree From Inorder And Postorder Traversal | Python |
View |
| 107 | Binary Tree Level Order Traversal Ii | Python |
View |
| 108 | Convert Sorted Array To Binary Search Tree | Python |
View |
| 109 | Convert Sorted List To Binary Search Tree | Python |
View |
| 110 | Balanced Binary Tree | Python |
View |
| 111 | Minimum Depth Of Binary Tree | Python |
View |
| 112 | Path Sum | Python |
View |
| 113 | Path Sum Ii | Python |
View |
| 114 | Flatten Binary Tree To Linked List | Python |
View |
| 116 | Populating Next Right Pointers In Each Node | Python |
View |
| 117 | Populating Next Right Pointers In Each Node Ii | Python |
View |
| 118 | Pascals Triangle | Python |
View |
| 119 | Pascals Triangle Ii | Python |
View |
| 120 | Triangle | Python |
View |
| 121 | Best Time To Buy And Sell Stock | Python |
View |
| 122 | Best Time To Buy And Sell Stock Ii | Python |
View |
| 125 | Valid Palindrome | Python |
View |
| 126 | Word Ladder Ii | Python |
View |
| 127 | Word Ladder | Python |
View |
| 128 | Longest Consecutive Sequence | Python |
View |
| 129 | Sum Root To Leaf Numbers | Python |
View |
| 130 | Surrounded Regions | Python |
View |
| 131 | Palindrome Partitioning | Python |
View |
| 132 | Palindrome Partitioning Ii | Python |
View |
| 133 | Clone Graph | Python |
View |
| 134 | Gas Station | Python |
View |
| 135 | Candy | Python |
View |
| 136 | Single Number | Python |
View |
| 137 | Single Number Ii | Python |
View |
| 138 | Copy List With Random Pointer | Python |
View |
| 139 | Word Break | Python |
View |
| 141 | Linked List Cycle | Python |
View |
| 142 | Linked List Cycle Ii | Python |
View |
| 143 | Reorder List | Python |
View |
| 144 | Binary Tree Preorder Traversal | Python |
View |
| 145 | Binary Tree Postorder Traversal | Python |
View |
| 146 | Lru Cache | Python |
View |
| 147 | Insertion Sort List | Python |
View |
| 148 | Sort List | Python |
View |
| 149 | Max Points On A Line | Python |
View |
| 150 | Evaluate Reverse Polish Notation | Python |
View |
| 151 | Reverse Words In A String | Python |
View |
| 152 | Maximum Product Subarray | Python |
View |
| 153 | Find Minimum In Rotated Sorted Array | Python |
View |
| 154 | Find Minimum In Rotated Sorted Array Ii | Python |
View |
| 155 | Min Stack | Python |
View |
| 160 | Intersection Of Two Linked Lists | Python |
View |
| 162 | Find Peak Element | Python |
View |
| 164 | Maximum Gap | Python |
View |
| 165 | Compare Version Numbers | Python |
View |
| 166 | Fraction To Recurring Decimal | Python |
View |
| 167 | Two Sum Ii Input Array Is Sorted | Python |
View |
| 168 | Excel Sheet Column Title | Python |
View |
| 169 | Majority Element | Python |
View |
| 171 | Excel Sheet Column Number | Python |
View |
| 172 | Factorial Trailing Zeroes | Python |
View |
| 173 | Binary Search Tree Iterator | Python |
View |
| 175 | Combine Two Tables | SQL |
View |
| 176 | Second Highest Salary | SQL |
View |
| 177 | Nth Highest Salary | SQL |
View |
| 178 | Rank Scores | SQL |
View |
| 179 | Largest Number | Python |
View |
| 180 | Consecutive Numbers | SQL |
View |
| 181 | Employees Earning More Than Their Managers | SQL |
View |
| 184 | Department Highest Salary | SQL |
View |
| 187 | Repeated Dna Sequences | Python |
View |
| 189 | Rotate Array | Python |
View |
| 190 | Reverse Bits | Python |
View |
| 191 | Number Of 1 Bits | Python |
View |
| 198 | House Robber | Python |
View |
| 199 | Binary Tree Right Side View | Python |
View |
| 200 | Number Of Islands | Python |
View |
| 201 | Bitwise And Of Numbers Range | Python |
View |
| 202 | Happy Number | C++ |
View |
| 203 | Remove Linked List Elements | Python |
View |
| 204 | Count Primes | Python |
View |
| 205 | Isomorphic Strings | Python |
View |
| 206 | Reverse Linked List | Python |
View |
| 207 | Course Schedule | Python |
View |
| 208 | Implement Trie Prefix Tree | Python |
View |
| 209 | Minimum Size Subarray Sum | Python |
View |
| 210 | Course Schedule Ii | Python |
View |
| 211 | Design Add And Search Words Data Structure | Python |
View |
| 213 | House Robber Ii | Python |
View |
| 215 | Kth Largest Element In An Array | Python |
View |
| 216 | Combination Sum Iii | Python |
View |
| 217 | Contains Duplicate | Python |
View |
| 219 | Contains Duplicate Ii | Python |
View |
| 221 | Maximal Square | Python |
View |
| 222 | Count Complete Tree Nodes | Python |
View |
| 223 | Rectangle Area | Python |
View |
| 225 | Implement Stack Using Queues | Python |
View |
| 226 | Invert Binary Tree | Python |
View |
| 227 | Basic Calculator Ii | Python |
View |
| 228 | Summary Ranges | Python |
View |
| 229 | Majority Element Ii | Python |
View |
| 230 | Kth Smallest Element In A Bst | Python |
View |
| 231 | Power Of Two | Python |
View |
| 232 | Implement Queue Using Stacks | Python |
View |
| 233 | Number Of Digit One | Python |
View |
| 234 | Palindrome Linked List | Python |
View |
| 235 | Lowest Common Ancestor Of A Binary Search Tree | Python |
View |
| 236 | Lowest Common Ancestor Of A Binary Tree | Python |
View |
| 237 | Delete Node In A Linked List | Python |
View |
| 238 | Product Of Array Except Self | Python |
View |
| 239 | Sliding Window Maximum | Python |
View |
| 240 | Search A 2D Matrix Ii | Python |
View |
| 241 | Different Ways To Add Parentheses | Python |
View |
| 242 | Valid Anagram | Python |
View |
| 257 | Binary Tree Paths | Python |
View |
| 258 | Add Digits | Python |
View |
| 260 | Single Number Iii | Python |
View |
| 262 | Trips And Users | SQL |
View |
| 263 | Ugly Number | Python |
View |
| 264 | Ugly Number Ii | Python |
View |
| 268 | Missing Number | Python |
View |
| 274 | H Index | Python |
View |
| 275 | H Index Ii | Python |
View |
| 278 | First Bad Version | Python |
View |
| 279 | Perfect Squares | Python |
View |
| 283 | Move Zeroes | Python |
View |
| 284 | Peeking Iterator | Python |
View |
| 287 | Find The Duplicate Number | Python |
View |
| 289 | Game Of Life | Python |
View |
| 290 | Word Pattern | Python |
View |
| 292 | Nim Game | Python |
View |
| 299 | Bulls And Cows | Python |
View |
| 300 | Longest Increasing Subsequence | Python |
View |
| 303 | Range Sum Query Immutable | Python |
View |
| 304 | Range Sum Query 2D Immutable | Python |
View |
| 306 | Additive Number | Python |
View |
| 307 | Range Sum Query Mutable | Python |
View |
| 309 | Best Time To Buy And Sell Stock With Cooldown | Python |
View |
| 310 | Minimum Height Trees | Python |
View |
| 313 | Super Ugly Number | Python |
View |
| 316 | Remove Duplicate Letters | Python |
View |
| 318 | Maximum Product Of Word Lengths | Python |
View |
| 319 | Bulb Switcher | Python |
View |
| 322 | Coin Change | Python |
View |
| 324 | Wiggle Sort Ii | Python |
View |
| 326 | Power Of Three | Python |
View |
| 328 | Odd Even Linked List | Python |
View |
| 331 | Verify Preorder Serialization Of A Binary Tree | Python |
View |
| 334 | Increasing Triplet Subsequence | Python |
View |
| 337 | House Robber Iii | Python |
View |
| 338 | Counting Bits | Python |
View |
| 341 | Flatten Nested List Iterator | Python |
View |
| 342 | Power Of Four | Python |
View |
| 343 | Integer Break | Python |
View |
| 344 | Reverse String | Python |
View |
| 345 | Reverse Vowels Of A String | Python |
View |
| 347 | Top K Frequent Elements | Python |
View |
| 349 | Intersection Of Two Arrays | Python |
View |
| 350 | Intersection Of Two Arrays Ii | Python |
View |
| 355 | Design Twitter | Python |
View |
| 357 | Count Numbers With Unique Digits | Python |
View |
| 365 | Water And Jug Problem | Python |
View |
| 367 | Valid Perfect Square | Python |
View |
| 368 | Largest Divisible Subset | Python |
View |
| 371 | Sum Of Two Integers | Python |
View |
| 372 | Super Pow | Python |
View |
| 373 | Find K Pairs With Smallest Sums | Python |
View |
| 374 | Guess Number Higher Or Lower | Python |
View |
| 375 | Guess Number Higher Or Lower Ii | Python |
View |
| 376 | Wiggle Subsequence | Python |
View |
| 377 | Combination Sum Iv | Python |
View |
| 378 | Kth Smallest Element In A Sorted Matrix | Python |
View |
| 380 | Insert Delete Getrandom O1 | Python |
View |
| 382 | Linked List Random Node | Python |
View |
| 383 | Ransom Note | Python |
View |
| 384 | Shuffle An Array | Python |
View |
| 385 | Mini Parser | Python |
View |
| 386 | Lexicographical Numbers | Python |
View |
| 387 | First Unique Character In A String | Python |
View |
| 388 | Longest Absolute File Path | Python |
View |
| 389 | Find The Difference | Python |
View |
| 390 | Elimination Game | Python |
View |
| 392 | Is Subsequence | Python |
View |
| 393 | Utf 8 Validation | Python |
View |
| 394 | Decode String | Python |
View |
| 395 | Longest Substring With At Least K Repeating Characters | Python |
View |
| 396 | Rotate Function | Python |
View |
| 397 | Integer Replacement | Python |
View |
| 398 | Random Pick Index | Python |
View |
| 399 | Evaluate Division | Python |
View |
| 400 | Nth Digit | Python |
View |
| 401 | Binary Watch | Python |
View |
| 402 | Remove K Digits | Python |
View |
| 404 | Sum Of Left Leaves | Python |
View |
| 405 | Convert A Number To Hexadecimal | Python |
View |
| 406 | Queue Reconstruction By Height | Python |
View |
| 407 | Trapping Rain Water Ii | Python |
View |
| 409 | Longest Palindrome | Python |
View |
| 412 | Fizz Buzz | Python |
View |
| 413 | Arithmetic Slices | Python |
View |
| 414 | Third Maximum Number | Python |
View |
| 415 | Add Strings | Python |
View |
| 416 | Partition Equal Subset Sum | Python |
View |
| 417 | Pacific Atlantic Water Flow | Python |
View |
| 419 | Battleships In A Board | Python |
View |
| 421 | Maximum Xor Of Two Numbers In An Array | Python |
View |
| 423 | Reconstruct Original Digits From English | Python |
View |
| 424 | Longest Repeating Character Replacement | Python |
View |
| 433 | Minimum Genetic Mutation | Python |
View |
| 434 | Number Of Segments In A String | Python |
View |
| 435 | Non Overlapping Intervals | Python |
View |
| 436 | Find Right Interval | Python |
View |
| 437 | Path Sum Iii | Python |
View |
| 438 | Find All Anagrams In A String | Python |
View |
| 441 | Arranging Coins | Python |
View |
| 442 | Find All Duplicates In An Array | Python |
View |
| 443 | String Compression | Python |
View |
| 445 | Add Two Numbers Ii | Python |
View |
| 447 | Number Of Boomerangs | Python |
View |
| 448 | Find All Numbers Disappeared In An Array | Python |
View |
| 449 | Serialize And Deserialize Bst | Python |
View |
| 450 | Delete Node In A Bst | Python |
View |
| 451 | Sort Characters By Frequency | Python |
View |
| 452 | Minimum Number Of Arrows To Burst Balloons | Python |
View |
| 453 | Minimum Moves To Equal Array Elements | Python |
View |
| 454 | 4Sum Ii | Python |
View |
| 455 | Assign Cookies | Python |
View |
| 456 | 132 Pattern | Python |
View |
| 457 | Circular Array Loop | Python |
View |
| 459 | Repeated Substring Pattern | Python |
View |
| 460 | Lfu Cache | Python |
View |
| 461 | Hamming Distance | Python |
View |
| 462 | Minimum Moves To Equal Array Elements Ii | Python |
View |
| 463 | Island Perimeter | Python |
View |
| 464 | Can I Win | Python |
View |
| 467 | Unique Substrings In Wraparound String | Python |
View |
| 468 | Validate Ip Address | Python |
View |
| 473 | Matchsticks To Square | Python |
View |
| 474 | Ones And Zeroes | Python |
View |
| 475 | Heaters | Python |
View |
| 476 | Number Complement | Python |
View |
| 477 | Total Hamming Distance | Python |
View |
| 481 | Magical String | Python |
View |
| 482 | License Key Formatting | Python |
View |
| 485 | Max Consecutive Ones | Python |
View |
| 486 | Predict The Winner | Python |
View |
| 491 | Non Decreasing Subsequences | Python |
View |
| 492 | Construct The Rectangle | Python |
View |
| 494 | Target Sum | Python |
View |
| 495 | Teemo Attacking | Python |
View |
| 496 | Next Greater Element I | Python |
View |
| 498 | Diagonal Traverse | Python |
View |
| 500 | Keyboard Row | Python |
View |
| 501 | Find Mode In Binary Search Tree | Python |
View |
| 503 | Next Greater Element Ii | Python |
View |
| 504 | Base 7 | Python |
View |
| 506 | Relative Ranks | Python |
View |
| 507 | Perfect Number | Python |
View |
| 508 | Most Frequent Subtree Sum | Python |
View |
| 513 | Find Bottom Left Tree Value | Python |
View |
| 515 | Find Largest Value In Each Tree Row | Python |
View |
| 516 | Longest Palindromic Subsequence | Python |
View |
| 518 | Coin Change Ii | Python |
View |
| 520 | Detect Capital | Python |
View |
| 521 | Longest Uncommon Subsequence I | Python |
View |
| 522 | Longest Uncommon Subsequence Ii | Python |
View |
| 523 | Continuous Subarray Sum | Python |
View |
| 524 | Longest Word In Dictionary Through Deleting | Python |
View |
| 525 | Contiguous Array | Python |
View |
| 526 | Beautiful Arrangement | Python |
View |
| 560 | Subarray Sum Equals K | Python |
View |
| 584 | Find Customer Referee | SQL |
View |
| 585 | Investments In 2016 | SQL |
View |
| 586 | Customer Placing The Largest Number Of Orders | SQL |
View |
| 596 | Classes With At Least 5 Students | SQL |
View |
| 601 | Human Traffic Of Stadium | SQL |
View |
| 608 | Tree Node | SQL |
View |
| 620 | Not Boring Movies | SQL |
View |
| 628 | Maximum Product Of Three Numbers | Python |
View |
| 636 | Exclusive Time Of Functions | Python |
View |
| 645 | Set Mismatch | Python |
View |
| 657 | Robot Return To Origin | Python |
View |
| 693 | Binary Number With Alternating Bits | Python |
View |
| 696 | Count Binary Substrings | Python |
View |
| 717 | 1 Bit And 2 Bit Characters | Python |
View |
| 728 | Self Dividing Numbers | Python |
View |
| 739 | Daily Temperatures | Python |
View |
| 757 | Pyramid Transition Matrix | Python |
View |
| 759 | Set Intersection Size At Least Two | Python |
View |
| 763 | Special Binary String | Python |
View |
| 764 | N Ary Tree Level Order Traversal | Python |
View |
| 766 | Flatten A Multilevel Doubly Linked List | Python |
View |
| 767 | Prime Number Of Set Bits In Binary Representation | Python |
View |
| 772 | Construct Quad Tree | Python |
View |
| 794 | Swim In Rising Water | Python |
View |
| 804 | Rotated Digits | Python |
View |
| 812 | Rotate String | Python |
View |
| 815 | Champagne Tower | Python |
View |
| 830 | Largest Triangle Area | Python |
View |
| 870 | Magic Squares In Grid | Python |
View |
| 896 | Smallest Subtree With All The Deepest Nodes | Python |
View |
| 899 | Binary Gap | Python |
View |
| 903 | Implement Rand10 Using Rand7 | Python |
View |
| 906 | Walking Robot Simulation | Python |
View |
| 909 | Stone Game | Python |
View |
| 912 | Random Pick With Weight | Python |
View |
| 913 | Random Flip Matrix | Python |
View |
| 914 | Random Point In Non Overlapping Rectangles | Python |
View |
| 915 | Generate Random Point In A Circle | Python |
View |
| 919 | Projection Area Of 3D Shapes | Python |
View |
| 934 | Bitwise Ors Of Subarrays | Python |
View |
| 940 | Fruit Into Baskets | Python |
View |
| 978 | Valid Mountain Array | Python |
View |
| 992 | Delete Columns To Make Sorted Ii | Python |
View |
| 1000 | Delete Columns To Make Sorted Iii | Python |
View |
| 1013 | Fibonacci Number | Python |
View |
| 1036 | Rotting Oranges | Python |
View |
| 1046 | Max Consecutive Ones Iii | Python |
View |
| 1054 | Complement Of Base 10 Integer | Python |
View |
| 1064 | Smallest Integer Divisible By K | Python |
View |
| 1071 | Binary Prefix Divisible By 5 | Python |
View |
| 1079 | Sum Of Root To Leaf Binary Numbers | Python |
View |
| 1116 | Maximum Level Sum Of A Binary Tree | Python |
View |
| 1135 | Customers Who Bought All Products | SQL |
View |
| 1155 | Product Sales Analysis Iii | SQL |
View |
| 1159 | Smallest Subsequence Of Distinct Characters | Python |
View |
| 1212 | Sequential Digits | Python |
View |
| 1222 | Remove Covered Intervals | Python |
View |
| 1234 | Number Of Paths With Max Score | Python |
View |
| 1245 | User Activity For The Past 30 Days I | SQL |
View |
| 1256 | Rank Transform Of An Array | Python |
View |
| 1297 | Maximum Number Of Balloons | Python |
View |
| 1305 | Number Of Visible People In A Queue | Python |
View |
| 1317 | Monthly Transactions I | SQL |
View |
| 1320 | Remove All Adjacent Duplicates In String Ii | Python |
View |
| 1371 | Minimum Remove To Make Valid Parentheses | Python |
View |
| 1386 | Shift 2D Grid | Python |
View |
| 1388 | Greatest Sum Divisible By Three | Python |
View |
| 1398 | Number Of Ways To Stay In The Same Place After Some Steps | Python |
View |
| 1415 | Students And Examinations | SQL |
View |
| 1428 | Jump Game Iii | Python |
View |
| 1443 | Minimum Distance To Type A Word Using Two Fingers | Python |
View |
| 1446 | Angle Between Hands Of A Clock | Python |
View |
| 1447 | Jump Game Iv | Python |
View |
| 1458 | Sort Integers By The Number Of 1 Bits | Python |
View |
| 1460 | Number Of Substrings Containing All Three Characters | Python |
View |
| 1465 | Maximum Product Of Splitted Binary Tree | Python |
View |
| 1466 | Jump Game V | Python |
View |
| 1480 | Movie Rating | SQL |
View |
| 1482 | How Many Numbers Are Smaller Than The Current Number | Python |
View |
| 1487 | Cinema Seat Allocation | Python |
View |
| 1507 | Check If There Is A Valid Path In A Grid | Python |
View |
| 1516 | The K Th Lexicographical String Of All Happy Strings Of Length N | Python |
View |
| 1520 | Number Of Steps To Reduce A Number In Binary Representation To One | Python |
View |
| 1522 | Stone Game Iii | Python |
View |
| 1527 | Number Of Ways To Paint N 3 Grid | Python |
View |
| 1548 | Check If All 1S Are At Least Length K Places Away | Python |
View |
| 1552 | Build An Array With Stack Operations | Python |
View |
| 1557 | Check If A String Contains All Binary Codes Of Size K | Python |
View |
| 1569 | Max Dot Product Of Two Subsequences | Python |
View |
| 1570 | Final Prices With A Special Discount In A Shop | Python |
View |
| 1574 | Maximum Product Of Two Elements In An Array | Python |
View |
| 1580 | Shuffle The Array | Python |
View |
| 1612 | Avoid Flood In The City | Python |
View |
| 1626 | Can Make Arithmetic Progression From Sequence | Python |
View |
| 1630 | Count Odd Numbers In An Interval Range | Python |
View |
| 1636 | Number Of Substrings With Only 1S | Python |
View |
| 1658 | Minimum Swaps To Arrange A Binary Grid | Python |
View |
| 1663 | Detect Cycles In 2D Grid | Python |
View |
| 1667 | Find Kth Bit In Nth Binary String | Python |
View |
| 1694 | Make Sum Divisible By P | Python |
View |
| 1704 | Special Positions In A Binary Matrix | Python |
View |
| 1716 | Maximum Non Negative Product In A Matrix | Python |
View |
| 1784 | Minimum Initial Energy To Finish Tasks | Python |
View |
| 1793 | Minimum Moves To Make Array Complementary | Python |
View |
| 1800 | Concatenation Of Consecutive Binary Numbers | Python |
View |
| 1807 | Partitioning Into Minimum Number Of Deci Binary Numbers | Python |
View |
| 1833 | Find The Highest Altitude | Python |
View |
| 1840 | Minimize Hamming Distance After Swap Operations | Python |
View |
| 1845 | Largest Submatrix With Rearrangements | Python |
View |
| 1878 | Check If Array Is Sorted And Rotated | Python |
View |
| 1884 | Minimum Changes To Make Alternating Binary String | Python |
View |
| 1910 | Check If Binary String Has At Most One Segment Of Ones | Python |
View |
| 1956 | Maximum Element After Decreasing And Rearranging | Python |
View |
| 1961 | Maximum Ice Cream Bars | Python |
View |
| 1968 | Maximum Building Height | Python |
View |
| 1972 | Rotating The Box | Python |
View |
| 1975 | Minimum Distance To The Target Element | Python |
View |
| 1984 | Maximum Distance Between A Pair Of Values | Python |
View |
| 1990 | Get Biggest Three Rhombus Sums In A Grid | Python |
View |
| 1996 | Number Of Ways To Rearrange Sticks With K Sticks Visible | Python |
View |
| 2001 | Jump Game Vii | Python |
View |
| 2015 | Determine Whether Matrix Can Be Obtained By Rotation | Python |
View |
| 2017 | Minimum Number Of Flips To Make The Binary String Alternating | Python |
View |
| 2037 | Count Square Sum Triples | Python |
View |
| 2043 | Cyclically Rotating A Grid | Python |
View |
| 2058 | Concatenation Of Array | Python |
View |
| 2059 | Unique Length 3 Palindromic Subsequences | Python |
View |
| 2089 | Maximum Matrix Sum | Python |
View |
| 2099 | Number Of Strings That Appear As Substrings In Word | Python |
View |
| 2106 | Find Greatest Common Divisor Of Array | Python |
View |
| 2107 | Find Unique Binary String | Python |
View |
| 2125 | Gcd Sort Of An Array | Python |
View |
| 2160 | Minimum Operations To Make A Uni Value Grid | Python |
View |
| 2164 | Two Best Non Overlapping Events | Python |
View |
| 2170 | Count Number Of Maximum Bitwise Or Subsets | Python |
View |
| 2174 | Next Greater Numerically Balanced Number | Python |
View |
| 2178 | Walking Robot Simulation Ii | Python |
View |
| 2197 | Decode The Slanted Ciphertext | Python |
View |
| 2199 | Two Furthest Houses With Different Colors | Python |
View |
| 2213 | Find All People With Secret | Python |
View |
| 2216 | Delete The Middle Node Of A Linked List | Python |
View |
| 2229 | Maximum Fruits Harvested After At Most K Steps | Python |
View |
| 2236 | Maximum Twin Sum Of A Linked List | Python |
View |
| 2245 | Destroying Asteroids | Python |
View |
| 2248 | Minimum Cost Of Buying Candies With Discount | Python |
View |
| 2263 | Maximum Running Time Of N Computers | Python |
View |
| 2265 | Partition Array According To Given Pivot | Python |
View |
| 2271 | Rearrange Array Elements By Sign | Python |
View |
| 2274 | Keep Multiplying Found Values By Two | Python |
View |
| 2306 | Create Binary Tree From Descriptions | Python |
View |
| 2316 | Count Hills And Valleys In An Array | Python |
View |
| 2317 | Count Collisions On A Road | Python |
View |
| 2392 | Successful Pairs Of Spells And Potions | Python |
View |
| 2463 | Minimum Recolors To Get K Consecutive Black Blocks | Python |
View |
| 2498 | Smallest Subarrays With Maximum Bitwise Or | Python |
View |
| 2503 | Longest Subarray With Maximum Bitwise And | Python |
View |
| 2550 | Words Within Two Edits Of Dictionary | Python |
View |
| 2554 | Minimum Total Distance Traveled | Python |
View |
| 2559 | Maximum Number Of Non Overlapping Palindrome Substrings | Python |
View |
| 2571 | Find The Pivot Integer | Python |
View |
| 2574 | Count Subarrays With Median K | Python |
View |
| 2582 | Minimum Score Of A Path Between Two Cities | Python |
View |
| 2598 | Shortest Distance To Target String In A Circular Array | Python |
View |
| 2610 | Closest Prime Numbers In Range | Python |
View |
| 2625 | Increment Submatrices By One | Python |
View |
| 2634 | Minimum Common Value | Python |
View |
| 2639 | Separate The Digits In An Array | Python |
View |
| 2689 | Rearranging Fruits | Python |
View |
| 2707 | Merge Two 2D Arrays By Summing Values | Python |
View |
| 2708 | Find The String With Lcp | Python |
View |
| 2710 | Minimum Operations To Reduce An Integer To 0 | Python |
View |
| 2714 | Left And Right Sum Differences | Python |
View |
| 2721 | Sum Of Distances | Python |
View |
| 2731 | Memoize | JavaScript |
View |
| 2732 | Counter | JavaScript |
View |
| 2733 | Sleep | JavaScript |
View |
| 2734 | Array Prototype Last | JavaScript |
View |
| 2741 | Function Composition | JavaScript |
View |
| 2742 | Group By | JavaScript |
View |
| 2743 | Debounce | JavaScript |
View |
| 2746 | Filter Elements From Array | JavaScript |
View |
| 2747 | Apply Transform Over Each Element In Array | JavaScript |
View |
| 2749 | Promise Time Limit | JavaScript |
View |
| 2753 | Minimum Number Of Operations To Make All Array Elements Equal To 1 | Python |
View |
| 2759 | Flatten Deeply Nested Array | JavaScript |
View |
| 2761 | Array Reduce Transformation | JavaScript |
View |
| 2762 | Cache With Time Limit | JavaScript |
View |
| 2766 | Find The Prefix Common Array Of Two Arrays | Python |
View |
| 2779 | Number Of Adjacent Elements With The Same Color | Python |
View |
| 2789 | Counter Ii | JavaScript |
View |
| 2793 | Count The Number Of Complete Components | Python |
View |
| 2796 | Allow One Function Call | JavaScript |
View |
| 2797 | Event Emitter | TypeScript |
View |
| 2798 | Chunk Array | JavaScript |
View |
| 2804 | Compact Object | TypeScript |
View |
| 2805 | Array Wrapper | TypeScript |
View |
| 2807 | Execute Asynchronous Functions In Parallel | JavaScript |
View |
| 2809 | Create Hello World Function | JavaScript, TypeScript |
View |
| 2813 | To Be Or Not To Be | JavaScript |
View |
| 2820 | Return Length Of Arguments Passed | JavaScript |
View |
| 2821 | Timeout Cancellation | JavaScript |
View |
| 2846 | Robot Collisions | Python |
View |
| 2855 | Maximum Number Of Jumps To Reach The Last Index | Python |
View |
| 2858 | Join Two Arrays By Id | JavaScript |
View |
| 2859 | Add Two Promises | JavaScript |
View |
| 2860 | Sort By | JavaScript |
View |
| 2862 | Interval Cancellation | JavaScript |
View |
| 2863 | Calculator With Method Chaining | TypeScript |
View |
| 2864 | Is Object Empty | JavaScript |
View |
| 2892 | Check If Array Is Good | Python |
View |
| 2905 | Count Paths That Can Form A Palindrome In A Tree | Python |
View |
| 2914 | Find The Safest Path In A Grid | Python |
View |
| 2978 | Check If Strings Can Be Made Equal With Operations Ii | Python |
View |
| 2999 | Check If Strings Can Be Made Equal With Operations I | Python |
View |
| 3019 | Furthest Point From Origin | Python |
View |
| 3031 | Construct Product Matrix | Python |
View |
| 3105 | Minimum Edge Reversals So Every Node Is Reachable | Python |
View |
| 3214 | Maximize Area Of Square Hole In Grid | Python |
View |
| 3215 | Matrix Similarity After Cyclic Shifts | Python |
View |
| 3250 | Maximum Square Area By Removing Fences From A Field | Python |
View |
| 3275 | Minimum Number Of Pushes To Type Word I | Python |
View |
| 3276 | Minimum Number Of Pushes To Type Word Ii | Python |
View |
| 3299 | Find The Maximum Number Of Elements In Subset | Python |
View |
| 3329 | Find The Length Of The Longest Common Prefix | Python |
View |
| 3338 | Count Submatrices With Top Left Element And Sum Less Than K | Python |
View |
| 3376 | Longest Common Suffix Queries | Python |
View |
| 3405 | Count The Number Of Special Characters Ii | Python |
View |
| 3406 | Find All Possible Stable Binary Arrays I | Python |
View |
| 3407 | Find All Possible Stable Binary Arrays Ii | Python |
View |
| 3408 | Count The Number Of Special Characters I | Python |
View |
| 3435 | Block Placement Queries | Python |
View |
| 3470 | Maximum Score From Grid Operations | Python |
View |
| 3476 | Find Minimum Operations To Make All Elements Divisible By Three | Python |
View |
| 3479 | Count The Number Of Substrings With Dominant Ones | Python |
View |
| 3483 | Alternating Groups Ii | Python |
View |
| 3492 | Count Submatrices With Equal Frequency Of X And Y | Python |
View |
| 3493 | Maximum Number Of Operations To Move Ones To The End | Python |
View |
| 3496 | Minimum Number Of Seconds To Make Mountain Height Zero | Python |
View |
| 3558 | Find A Safe Walk Through A Grid | Python |
View |
| 3561 | Remove Methods From Project | Python |
View |
| 3569 | Count Of Substrings Containing Every Vowel And K Consonants Ii | Python |
View |
| 3583 | Sorted Gcd Pair Queries | Python |
View |
| 3606 | Minimum Element After Replacement With Digit Sum | Python |
View |
| 3608 | Find The Number Of Subsequences With Equal Gcd | Python |
View |
| 3610 | Find X Sum Of All K Long Subarrays I | Python |
View |
| 3653 | Maximum Subarray Sum With Length Divisible By K | Python |
View |
| 3677 | Maximum Amount Of Money Robot Can Earn | Python |
View |
| 3704 | Count Partitions With Even Sum Difference | Python |
View |
| 3750 | Closest Equal Element Queries | Python |
View |
| 3770 | Lexicographically Smallest Generated String | Python |
View |
| 3781 | Maximize The Distance Between Points On A Square | Python |
View |
| 3789 | Maximize Subarrays After Removing One Conflicting Pair | Python |
View |
| 3790 | Fruits Into Baskets Ii | Python |
View |
| 3791 | Fruits Into Baskets Iii | Python |
View |
| 3804 | Maximize Active Section With Trade Ii | Python |
View |
| 3805 | Maximize Active Section With Trade I | Python |
View |
| 3812 | Smallest Palindromic Rearrangement I | Python |
View |
| 3813 | Smallest Palindromic Rearrangement Ii | Python |
View |
| 3820 | Number Of Unique Xor Triplets Ii | Python |
View |
| 3824 | Number Of Unique Xor Triplets I | Python |
View |
| 3834 | Minimum Operations To Convert All Elements To Zero | Python |
View |
| 3835 | Count Partitions With Max Min Difference At Most K | Python |
View |
| 3838 | Path Existence Queries In A Graph I | Python |
View |
| 3842 | Number Of Ways To Assign Edge Weights Ii | Python |
View |
| 3844 | Number Of Ways To Assign Edge Weights I | Python |
View |
| 3846 | Minimum Operations To Make Array Sum Divisible By K | Python |
View |
| 3849 | Equal Sum Grid Partition I | Python |
View |
| 3850 | Equal Sum Grid Partition Ii | Python |
View |
| 3852 | Path Existence Queries In A Graph Ii | Python |
View |
| 3859 | Maximum Product Of Two Digits | Python |
View |
| 3884 | Minimum Absolute Difference In Sliding Submatrix | Python |
View |
| 3886 | Count Number Of Trapezoids I | Python |
View |
| 3892 | Best Time To Buy And Sell Stock V | Python |
View |
| 3902 | Maximize Spanning Tree Stability With Upgrades | Python |
View |
| 3919 | Network Recovery Pathways | Python |
View |
| 3931 | Process String With Special Operations I | Python |
View |
| 3933 | Minimum Jumps To Reach End Via Prime Teleportation | Python |
View |
| 3939 | Process String With Special Operations Ii | Python |
View |
| 3962 | Number Of Zigzag Arrays I | Python |
View |
| 3964 | Number Of Zigzag Arrays Ii | Python |
View |
| 3965 | Earliest Finish Time For Land And Water Rides I | Python |
View |
| 3967 | Earliest Finish Time For Land And Water Rides Ii | Python |
View |
| 3973 | Flip Square Submatrix Vertically | Python |
View |
| 3974 | Xor After Range Multiplication Queries I | Python |
View |
| 3975 | Xor After Range Multiplication Queries Ii | Python |
View |
| 3980 | Best Time To Buy And Sell Stock Using Strategy | Python |
View |
| 3981 | Jump Game Ix | Python |
View |
| 3982 | Maximum Walls Destroyed By Robots | Python |
View |
| 3983 | Minimum Operations To Equalize Binary String | Python |
View |
| 3986 | Maximum Path Score In A Grid | Python |
View |
| 3995 | Gcd Of Odd And Even Sums | Python |
View |
| 4005 | Maximum Total Subarray Value I | Python |
View |
| 4007 | Maximum Total Subarray Value Ii | Python |
View |
| 4057 | Total Waviness Of Numbers In Range I | Python |
View |
| 4074 | Count Subarrays With Majority Element I | Python |
View |
| 4075 | Count Subarrays With Majority Element Ii | Python |
View |
| 4107 | Find Missing Elements | Python |
View |
| 4115 | Minimum Distance Between Three Equal Elements I | Python |
View |
| 4119 | Minimum Distance Between Three Equal Elements Ii | Python |
View |
| 4128 | Total Waviness Of Numbers In Range Ii | Python |
View |
| 4135 | Concatenate Non Zero Digits And Multiply By Sum I | Python |
View |
| 4136 | Concatenate Non Zero Digits And Multiply By Sum Ii | Python |
View |
| 4139 | Minimum Absolute Distance Between Mirror Pairs | Python |
View |
| 4168 | Mirror Distance Of An Integer | Python |
View |
| 4192 | Minimum Cost To Partition A Binary String | Python |
View |
| 4216 | Weighted Word Mapping | Python |
View |
| 4220 | Minimum Operations To Sort A String | Python |
View |
| 4229 | Trim Trailing Vowels | Python |
View |
| 4240 | Find The Smallest Balanced Index | Python |
View |
| 4242 | Sum Of Gcd Of Formed Pairs | Python |
View |
| 4247 | Minimum Capacity Box | Python |
View |
System.exit(0); // See you in the next commit ~ Ash
