| Update file names | 3 年前 |
| Update file names | 3 年前 |
| revert several python solution changes | 2 年前 |
| Update file names | 3 年前 |
| Adjusted spacing | 1 年前 |
| Added solution to leetcode 6 | 2 年前 |
| Update file names | 3 年前 |
| Create 0009-palindrome-number.py | 3 年前 |
| Update file names | 3 年前 |
| Remove unnecessary code from 0011-Container-with-Most-Water | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update 0014-longest-common-prefix.py Optimizing the space by removing a variable for storing a prefix | 2 年前 |
| revert wrong commit | 3 年前 |
| Adjust spacing | 1 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update 0020-valid-parentheses.py avoid using 'map' as variable name to avoid overriding a built-in Signed-off-by: Chiao Yang <chiao.cs.yang@gmail.com> | 1 年前 |
| Moved the original solution to the top and the new one to the bottom. | 3 年前 |
| Update file names | 3 年前 |
| revert several python solution changes | 2 年前 |
| Update file names | 3 年前 |
| revert several python solution changes | 2 年前 |
| Update 0026-remove-duplicates-from-sorted-array.py | 3 年前 |
| Update 0027-remove-element.py | 2 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Revert "Update 0036-valid-sudoku.py" | 2 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| revert several python solution changes | 2 年前 |
| Update file names | 3 年前 |
| Removed submission link in the code | 1 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create 0047-permutations-ii.py | 3 年前 |
| Update file names | 3 年前 |
| Merge pull request #3452 from Zirafnik/patch-1 Easier solution: 0049-group-anagrams.py | 1 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| added python solution for 0052-n-queens-ii | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update 0058-length-of-last-word.py If I am not mistaken `[::-1]` creates a new (reversed) string, which would give that solution a space complexity of O(n). Instead we should just use a backwards iterator. | 2 年前 |
| feature: 0061-rotate-list.py | 3 年前 |
| Update file names | 3 年前 |
| Update 0063-unique-paths-ii.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create 0067-add-binary.py | 3 年前 |
| Create 0068-text-justification.py | 3 年前 |
| Create 0069-sqrtx.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Merge branch 'main' into main | 3 年前 |
| Update 0076-minimum-window-substring.py The Leetcode description for the problem states: m == s.length n == t.length 1 <= m, n <= 10^5 Which means t == "" will never be True. But what would make sense if m < n => return "", because then we cant find a minimum window substring. | 2 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Changes | 2 年前 |
| Create 0080-remove-duplicates-from-sorted-array-ii.py | 3 年前 |
| Fixed name of file | 1 年前 |
| Update file names | 3 年前 |
| revert several python solution changes | 2 年前 |
| feature: 0086-partition-list.py | 3 年前 |
| updated files names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| fixed condition to follow the algorithm design | 3 年前 |
| Update function signature | 2 年前 |
| Create: 0101-symmetric-tree.py | 3 年前 |
| Update file names | 3 年前 |
| Create: 0103-binary-tree-level-order-traversal.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Added 0106-construct-binary-tree-from-inorder-and-postorder-traversal.py | 2 年前 |
| Create: 0108-convert-sorted-array-to-binary-search-tree.py | 3 年前 |
| Update file names | 3 年前 |
| Merge branch 'main' into path_sum_python | 1 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Renamed all mixed-case files to lowercase One mixed-case file had a duplicate lowercase file, so I removed the mixed-case file. - cpp/0122 - Best Time to Buy And Sell Stock II.cpp | 3 年前 |
| Update file names | 3 年前 |
| revert several python solution changes | 2 年前 |
| Create 0122-best-time-to-buy-and-sell-stock-ii.py | 3 年前 |
| Update file names | 3 年前 |
| Update 0125-valid-palindrome.py | 2 年前 |
| Update file names | 3 年前 |
| fixed small issue | 3 年前 |
| Adjusted Spacing | 1 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| revert several python solution changes | 2 年前 |
| Adjust spacing | 1 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create 0144-binary-tree-preorder-traversal.py | 3 年前 |
| Create 0145-binary-tree-postorder-traversal.py | 3 年前 |
| Update file names | 3 年前 |
| feature: 0147-insertion-sort-list.py | 3 年前 |
| feature: 0148-sort-list.py | 3 年前 |
| Add 103 more lc problems to site data | 3 年前 |
| revert several python solution changes | 2 年前 |
| Fixed extension to be python | 1 年前 |
| Update file names | 3 年前 |
| Update 0153-find-minimum-in-rotated-sorted-array.py Prevent integer overflow in find minimum in rotated sorted array, python | 2 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create 0162-find-peak-element.py | 3 年前 |
| Update file names | 3 年前 |
| Create 0168-excel-sheet-column-title.py | 3 年前 |
| Update file names | 3 年前 |
| Create 0179-largest-number.py Create the Python solution as the same solution in the YouTube video "https://www.youtube.com/watch?v=WDx6Y4i4xJ8" | 3 年前 |
| Create 0187-repeated-dna-sequences.py | 3 年前 |
| Create 0189-rotate-array.py This is a transcription of the python code which is provided in the video https://www.youtube.com/watch?v=BHr381Guz3Y. | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Fixed Formatting | 1 年前 |
| Create 0201-bitwise-and-of-numbers-range.py | 2 年前 |
| Update file names | 3 年前 |
| Create 0203-remove-linked-list-elements.py This is a transcription of the solution provided in the video https://www.youtube.com/watch?v=JI71sxtHTng. | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update 0208-implement-trie-prefix-tree.py It is better to use is None instead of == None when checking for None in Python. The reason is that `is` checks for identity (whether the two objects are the same object in memory), whereas == checks for equality (whether the two objects have the same value). In Python, None is a singleton object, and using is to check for None is more efficient and idiomatic. It ensures that you are specifically checking if a variable is bound to the None object and not just a value that happens to be equivalent to None. | 2 年前 |
| add 0209-minimum-size-subarray-sum.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Merge pull request #3127 from emanuele-em/patch-7 Update 0215-kth-largest-element-in-an-array.py | 1 年前 |
| Update file names | 3 年前 |
| Create 0219-contains-duplicate-ii.py | 3 年前 |
| Update file names | 3 年前 |
| Update 0225-implement-stack-using-queues.py | 3 年前 |
| Made swap function shorter and more intuitive. | 3 年前 |
| Update file names | 3 年前 |
| Create 0231-power-of-two.py | 2 年前 |
| Correcting filenames for problems in Python | 3 年前 |
| Create 0234-palindrome-linked-list.py Code transcribed from the video https://www.youtube.com/watch?v=yOzXms1J6Nk | 3 年前 |
| Remove cur since we can update root instead. | 3 年前 |
| create 0236-lowest-common-ancestor-of-a-binary-tree.py | 3 年前 |
| Update 0238-product-of-array-except-self.py Eliminating unneeded prefix variable | 3 年前 |
| Update file names | 3 年前 |
| Added Spaces | 1 年前 |
| Update 0242-valid-anagram.py | 3 年前 |
| Rename 252-Meeting-Rooms.py to 0252-meeting-rooms.py | 3 年前 |
| Rename 0919-meeting-rooms-ii.py to 0253-meeting-rooms-ii.py | 3 年前 |
| Update file names | 3 年前 |
| Update 0261-graph-valid-tree.py I'd propose to include DSU-based solution to this problem as it more efficient. If I'm not mistaken O(ElogV) would be time complexity and the approach saves some space as we don't recreate graph\tree into adjacency list prior dfs and loop over the edge list directly | 3 年前 |
| Create 0263-ugly-number.py Code transcribed from the video https://www.youtube.com/watch?v=M0Zay1Qr9ws | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| 0271: Optimize string encode/decode builders | 3 个月前 |
| Create 0274-H-index.py | 2 年前 |
| Create: 0278-first-bad-version.py | 2 年前 |
| Create 0280-wiggle-sort.py | 3 年前 |
| create: 0283-move-zeroes.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update 0295-find-median-from-data-stream.py without this change, the output is coming as an integer instead of float. | 3 年前 |
| use queue, not cursor | 3 年前 |
| Update file names | 3 年前 |
| Rename 303-range-sum-query-immutable.py to 0303-range-sum-query-immutable.py | 3 年前 |
| Create 0304-range-sum-query-2d-immutable.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| remove res | 1 年前 |
| Create 0334-increasing-triplet-subsequence.py | 3 年前 |
| a new solution of 0 338 | 2 年前 |
| Update 0344-reverse-string.py. There is no need to use less-or-equal condition, substitute it with just 'less' condition. | 3 年前 |
| Update 0347-top-k-frequent-elements.py: Use concatenation of arrays instead of appending individual elements | 2 年前 |
| Create 0349-intersection-of-two-arrays.py | 2 年前 |
| Fixed code file name | 1 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| feature: 0380-insert-delete-getrandom-o1.py | 3 年前 |
| Correcting filenames for problems in Python | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| add 0402-remove-k-digits.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| revert several python solution changes | 2 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create 0442-find-all-duplicates-in-an-array.py | 2 年前 |
| Update file names | 3 年前 |
| Create 0450-delete-node-in-a-bst.py | 3 年前 |
| Create 0452-minimum-number-of-arrows-to-burst-balloons.py | 2 年前 |
| add 0456-132-pattern.py | 3 年前 |
| Create 0459-repeated-substring-pattern.py | 2 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create 0474-ones-and-zeroes.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create 0502-ipo.py | 3 年前 |
| Rename 0509-Fibonacci-Number.py to 0509-fibonacci-number.py | 3 年前 |
| Merge branch 'main' into main | 1 年前 |
| Create 0516-longest-palindromic-subsequence.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create 0525-contiguous-array.py | 2 年前 |
| Create 0535-encode-and-decode-tinyurl.py | 3 年前 |
| Rename 540-single-element-in-a-sorted-array.py to 0540-single-element-in-a-sorted-array.py | 3 年前 |
| Update file names | 3 年前 |
| Rename capital files | 3 年前 |
| 0560-subarray-sum-equals-k.py added and Updated README (#2039) * 0560-subarray-sum-equals-k.py added and Updated README * 0560-subarray-sum-equals-k.py added and Updated README * Added Python Solution for 0560-subarray-sum-equlas-k | 3 年前 |
| revert several python solution changes | 2 年前 |
| Update function signature | 2 年前 |
| Update 0605-can-place-flowers.py | 3 年前 |
| Create: 0606-construct-string-from-binary-tree.py | 3 年前 |
| Update file names | 3 年前 |
| Change variable name from c to count | 3 年前 |
| feature: 0622-design-circular-queue.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create: 0662-maximum-width-of-binary-tree.py | 3 年前 |
| Create 0665-non-decreasing-array.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| python: Create partition to k equal sum subsets. | 3 年前 |
| Create 0701-insert-into-a-binary-search-tree.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create: 0705-design-hashset.py | 3 年前 |
| Rename 0706-design-hashmap.py to python/0706-design-hashmap.py | 3 年前 |
| Create 0707-design-linked-list.py | 3 年前 |
| Create 0721-accounts-merge.py | 3 年前 |
| Update file names | 3 年前 |
| Create: 0729-my-calendar-i.py | 3 年前 |
| add 0735-asteroid-collision.py | 3 年前 |
| Update file names | 3 年前 |
| python: Create delete and earn. | 3 年前 |
| Update file names | 3 年前 |
| Added solution for 0745 - Prefix and Suffix Search | 1 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create 0783-minimum-distance-between-bst-nodes.py | 3 年前 |
| Create: 0785-is-graph-bipartite.py | 1 年前 |
| Update file names | 3 年前 |
| Added spacing | 1 年前 |
| add problem 802 python Signed-off-by: luarss <39641663+luarss@users.noreply.github.com> | 2 年前 |
| Create 0838-push-dominoes.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Correcting filenames for problems in Python | 3 年前 |
| Fix division betwen 2 integers returning integer Fix the code so that leetcode accepts it as of 2023-09-23. | 2 年前 |
| feature: 0876-middle-of-the-linked-list.py | 3 年前 |
| Create 0881-boats-to-save-people.py | 3 年前 |
| changed file name | 3 年前 |
| Create 0895-maximum-frequency-stack.py | 2 年前 |
| Create 0896-monotonic-array.py | 3 年前 |
| Update file names | 3 年前 |
| add 0904-fruit-into-baskets.py | 3 年前 |
| Put python files into the correct folder | 3 年前 |
| Update file names | 3 年前 |
| Create 0912-sort-an-array.py | 3 年前 |
| Create 0918-maximum-sum-circular-subarray.py | 3 年前 |
| Update file names | 3 年前 |
| Create 0930-binary-subarrays-with-sum.py | 2 年前 |
| Correcting filenames for problems in Python | 3 年前 |
| add 0946-validate-stack-sequences.py | 3 年前 |
| Create 0948-bag-of-tokens.py | 2 年前 |
| Create 0953-verifying-an-alien-dictionary.py code transcribed from the video https://www.youtube.com/watch?v=OVgPAJIyX6o | 3 年前 |
| Changed back to original variable names and formatting in video. | 3 年前 |
| Update file names | 3 年前 |
| Create 0978-longest-turbulent-subarray.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create 0997-find-the-town-judge.py | 2 年前 |
| add 1011-capacity-to-ship-packages-within-d-days.py | 3 年前 |
| Create: 1020-number-of-enclaves.py | 2 年前 |
| Create: 1029-two-city-scheduling.go / .py / .java | 3 年前 |
| Add maxheap version using _heapify_max, _heappop_max, and _heap_replace_max. | 3 年前 |
| Create 1049-last-stone-weight-ii.py | 3 年前 |
| Create 1074-number-of-submatrices-that-sum-to-target.py | 2 年前 |
| Rename 1091-shortest-path-in-a-binary-matrix.py to 1091-shortest-path-in-binary-matrix.py | 3 年前 |
| Renamed all mixed-case files to lowercase One mixed-case file had a duplicate lowercase file, so I removed the mixed-case file. - cpp/0122 - Best Time to Buy And Sell Stock II.cpp | 3 年前 |
| Update file names | 3 年前 |
| Create 1189-maximum-number-of-balloons.py | 3 年前 |
| Added solution 1203-Sort Items by Groups Respecting Dependencies | 1 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create: 1254-number-of-closed-islands.py | 2 年前 |
| Create 1260-shift-2d-grid.py This code is transcribed from the video https://www.youtube.com/watch?v=nJYFh4Dl-as | 3 年前 |
| Create: 1288-remove-covered-intervals.py | 1 年前 |
| Update file names | 3 年前 |
| Create 1343-number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold.py | 3 年前 |
| Create 1345-jump-game-iv.py | 3 年前 |
| Update file names | 3 年前 |
| Create 1396-design-underground-system.py | 2 年前 |
| Fixed name | 1 年前 |
| Added Spaces | 1 年前 |
| Update file names | 3 年前 |
| add 1456-maximum-number-of-vowels-in-a-substring-of-given-length.py | 3 年前 |
| Create 1461-check-if-a-string-contains-all-binary-codes-of-size-k.py | 3 年前 |
| Create 1462-course-schedule-iv.py | 3 年前 |
| Create 1464-maximum-product-of-two-elements-in-an-array.py | 2 年前 |
| add problem 1466 | 2 年前 |
| Update 1472-design-browser-history.py | 3 年前 |
| Create 1475-final-prices-with-a-special-discount-in-a-shop.py | 2 年前 |
| Create 1481-least-number-of-unique-integers-after-k-removals.py | 2 年前 |
| Create 1489-find-critical-and-pseudo-critical-edges-in-minimum-spanning-tree.py | 3 年前 |
| Create 1498-number-of-subsequences-that-satisfy-the-given-sum-condition.py | 3 年前 |
| Create 1514-path-with-maximum-probability.py | 3 年前 |
| Create 1523-count-odd-numbers-in-an-interval-range.py File(s) Added: 1523-count-odd-numbers-in-an-interval-range.py Language(s) Used: python Submission URL: https://leetcode.com/problems/count-odd-numbers-in-an-interval-range/submissions/1114260447/ | 2 年前 |
| Improved readability | 1 年前 |
| Create 1582-special-positions-in-a-binary-matrix.py | 2 年前 |
| Update file names | 3 年前 |
| Added 1603 - design parking system Python solution | 3 年前 |
| Create 1609-even-odd-tree.py | 2 年前 |
| Create: 1631-path-with-minimum-effort.py | 1 年前 |
| Rename 1642-furthest-building-you-can-reach.kt to 1642-furthest-building-you-can-reach.py | 2 年前 |
| Create: 1658-minimum-operations-to-reduce-x-to-zero.py | 2 年前 |
| Create 1669-merge-in-between-linked-lists.py | 2 年前 |
| added python/1700-number-of-students-unable-to-eat-lunch.py | 3 年前 |
| Create 1721-swapping-nodes-in-a-linked-list.py | 3 年前 |
| Create 1750-minimum-length-of-string-after-deleting-similar-ends.py | 2 年前 |
| add 1768-merge-strings-alternately.py | 3 年前 |
| add Maximum Ascending Subarray Sum in python | 3 年前 |
| Removed extra Python folder that was created from a mistyped folder name in a PR. Folder was named "python " with an extra space, which created an new folder with only that file in it. Merged that file into the main python folder as well as a file that had been submitted under python/python. | 3 年前 |
| Rename capital files | 3 年前 |
| add 1838-frequency-of-the-most-frequent-element.py | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| add 1888-minimum-number-of-flips-to-make-the-binary-string-alternating.py | 3 年前 |
| Rename 1899-Merge-Triplets-to-Form-Target-Triplet.py to 1899-merge-triplets-to-form-target-triplet.py | 3 年前 |
| Update file names | 3 年前 |
| Create 1929-concatenation-of-array.py | 3 年前 |
| Create: 1930-unique-length-3-palindromic | 3 年前 |
| Create 1958-check-if-move-is-legal.py | 3 年前 |
| Create 1963-minimum-number-of-swaps-to-make-the-string-balanced.py Create the Python solution as the same solution in the YouTube video "https://www.youtube.com/watch?v=3YDBT9ZrfaU" | 3 年前 |
| Modify Solution with intutition: 1968-array-with-elements-not-equal-to-average-of-neighbors | 3 年前 |
| Update file names | 3 年前 |
| Create 1984-minimum-difference-between-highest-and-lowest-of-k-scores.py Code transcribed from the video https://www.youtube.com/watch?v=JU5XdBZZtlk | 3 年前 |
| Update file names | 3 年前 |
| Create 2001-number-of-pairs-of-interchangeable-rectangles.py Create the same solution in the YouTube video "https://www.youtube.com/watch?v=lEQ8ZlLOuyQ" | 3 年前 |
| Update siteData script and data | 3 年前 |
| Update file names | 3 年前 |
| Update file names | 3 年前 |
| Create 2092-find-all-people-with-secret.py | 2 年前 |
| Create: 2101-detonate-the-maximum-bombs.py | 1 年前 |
| Create 2130-maximum-twin-sum-of-a-linked-list.py | 3 年前 |
| Merge branch 'main' into Create2215 | 1 年前 |
| 1480 2114 2469 2235 | 3 年前 |
| add 2300-successful-pairs-of-spells-and-potions.py | 3 年前 |
| Create: 2306-naming-a-company.py | 2 年前 |
| Create 2348-number-of-zero-filled-subarrays.py | 3 年前 |
| Removed extra Python folder that was created from a mistyped folder name in a PR. Folder was named "python " with an extra space, which created an new folder with only that file in it. Merged that file into the main python folder as well as a file that had been submitted under python/python. | 3 年前 |
| Create 2402-meeting-rooms-iii.py | 2 年前 |
| Create 2405-optimal-partition-of-string.py Solution for Optimal Partition of String in Python. | 2 年前 |
| Create 2482-difference-between-ones-and-zeros-in-row-and-column.py | 2 年前 |
| Create 2483-minimum-penalty-for-a-shop.py Added python solution for 2483 minimum-penalty-for-a-shop | 2 年前 |
| Fixed name of file | 1 年前 |
| Fix spacing | 1 年前 |
| Create 2709-greatest-common-divisor-traversal.py | 2 年前 |
| Create 2864-maximum-odd-binary-number.py | 2 年前 |
| Create 2971-find-polygon-with-the-largest-perimeter.py | 2 年前 |