{"id":19541822,"url":"https://github.com/wasi0013/leet_code","last_synced_at":"2025-02-26T05:19:16.865Z","repository":{"id":38136850,"uuid":"365015623","full_name":"wasi0013/leet_code","owner":"wasi0013","description":"leetcode :snake: Python 3 solutions","archived":false,"fork":false,"pushed_at":"2024-01-06T14:34:20.000Z","size":151,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-08T18:48:28.232Z","etag":null,"topics":["leetcode","leetcode-python3-solutions","leetcode-solutions","python"],"latest_commit_sha":null,"homepage":"https://leetcode.com/wasi0013","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wasi0013.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-06T19:25:32.000Z","updated_at":"2023-11-30T02:18:09.000Z","dependencies_parsed_at":"2024-11-11T03:12:12.704Z","dependency_job_id":"b5ac14e6-7130-49c0-95e0-310726910d73","html_url":"https://github.com/wasi0013/leet_code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasi0013%2Fleet_code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasi0013%2Fleet_code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasi0013%2Fleet_code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasi0013%2Fleet_code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasi0013","download_url":"https://codeload.github.com/wasi0013/leet_code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240795422,"owners_count":19858812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["leetcode","leetcode-python3-solutions","leetcode-solutions","python"],"created_at":"2024-11-11T03:12:04.350Z","updated_at":"2025-02-26T05:19:16.796Z","avatar_url":"https://github.com/wasi0013.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e \u003ca target=\"_blank\" href=\"https://leetcode.com/wasi0013/\"\u003e\u003cimg src=\"https://assets.leetcode.com/static_assets/public/webpack_bundles/images/logo-dark.e99485d9b.svg\" height=\"25%\" width=\"25%\" alt=\"LeetCode Logo\"\u003e\u003c/a\u003e \u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003ca target=\"_blank\" href=\"https://leetcode.com/wasi0013/\"\u003e\u003cimg src=\"https://leetcode-stats.vercel.app/api?username=wasi0013\u0026theme=Light\" alt=\"LeetCode Python 3 solutions\"\u003e \u003c/a\u003e\n\u003c/p\u003e\n\n## Solved (92)\n\n - [x] [1. Two Sum](https://leetcode.com/problems/two-sum) - [:page_with_curl:](problems/1_two_sum.py)\n - [x] [3. Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters) - [:page_with_curl:](problems/3_longest_substring_without_repeating_characters.py)\n - [x] [7. Reverse Integer](https://leetcode.com/problems/reverse-integer) - [:page_with_curl:](problems/7_reverse_integer.py)\n - [x] [11. Container With Most Water](https://leetcode.com/problems/container-with-most-water) - [:page_with_curl:](problems/11_container_with_most_water.py)\n - [x] [13. Roman To Integer](https://leetcode.com/problems/roman-to-integer) - [:page_with_curl:](problems/13_roman_to_integer.py)\n - [x] [14. Longest Common Prefix](https://leetcode.com/problems/longest-common-prefix) - [:page_with_curl:](problems/14_longest_common_prefix.py)\n - [x] [20. Valid Parentheses](https://leetcode.com/problems/valid-parentheses) - [:page_with_curl:](problems/20_valid_parentheses.py)\n - [x] [21. Merge Two Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists) - [:page_with_curl:](problems/21_merge_two_sorted_lists.py)\n - [x] [26. Remove Duplicates From Sorted Array](https://leetcode.com/problems/remove-duplicates-from-sorted-array) - [:page_with_curl:](problems/26_remove_duplicates_from_sorted_array.py)\n - [x] [36. Valid Sudoku](https://leetcode.com/problems/valid-sudoku) - [:page_with_curl:](problems/36_valid_sudoku.py)\n - [x] [41. First Missing Positive](https://leetcode.com/problems/first-missing-positive) - [:page_with_curl:](problems/41_first_missing_positive.py)\n - [x] [42. Trapping Rain Water](https://leetcode.com/problems/trapping-rain-water) - [:page_with_curl:](problems/42_trapping_rain_water.py)\n - [x] [49. Group Anagrams](https://leetcode.com/problems/group-anagrams) - [:page_with_curl:](problems/49_group_anagrams.py)\n - [x] [53. Maximum Subarray](https://leetcode.com/problems/maximum-subarray) - [:page_with_curl:](problems/53_maximum_subarray.py)\n - [x] [88. Merge Sorted Array](https://leetcode.com/problems/merge-sorted-array) - [:page_with_curl:](problems/88_merge_sorted_array.py)\n - [x] [121. Best Time To Buy And Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock) - [:page_with_curl:](problems/121_best_time_to_buy_and_sell_stock.py)\n - [x] [125. Valid Palindrome](https://leetcode.com/problems/valid-palindrome) - [:page_with_curl:](problems/125_valid_palindrome.py)\n - [x] [128. Longest Consecutive Sequence](https://leetcode.com/problems/longest-consecutive-sequence) - [:page_with_curl:](problems/128_longest_consecutive_sequence.py)\n - [x] [136. Single Number](https://leetcode.com/problems/single-number) - [:page_with_curl:](problems/136_single_number.py)\n - [x] [137. Single Number Ii](https://leetcode.com/problems/single-number-ii) - [:page_with_curl:](problems/137_single_number_ii.py)\n - [x] [141. Linked List Cycle](https://leetcode.com/problems/linked-list-cycle) - [:page_with_curl:](problems/141_linked_list_cycle.py)\n - [x] [152. Maximum Product Subarray](https://leetcode.com/problems/maximum-product-subarray) - [:page_with_curl:](problems/152_maximum_product_subarray.py)\n - [x] [155. Min Stack](https://leetcode.com/problems/min-stack) - [:page_with_curl:](problems/155_min_stack.py)\n - [x] [160. Intersection Of Two Linked Lists](https://leetcode.com/problems/intersection-of-two-linked-lists) - [:page_with_curl:](problems/160_intersection_of_two_linked_lists.py)\n - [x] [165. Compare Version Numbers](https://leetcode.com/problems/compare-version-numbers) - [:page_with_curl:](problems/165_compare_version_numbers.py)\n - [x] [169. Majority Element](https://leetcode.com/problems/majority-element) - [:page_with_curl:](problems/169_majority_element.py)\n - [x] [172. Factorial Trailing Zeroes](https://leetcode.com/problems/factorial-trailing-zeroes) - [:page_with_curl:](problems/172_factorial_trailing_zeroes.py)\n - [x] [189. Rotate Array](https://leetcode.com/problems/rotate-array) - [:page_with_curl:](problems/189_rotate_array.py)\n - [x] [198. House Robber](https://leetcode.com/problems/house-robber) - [:page_with_curl:](problems/198_house_robber.py)\n - [x] [202. Happy Number](https://leetcode.com/problems/happy-number) - [:page_with_curl:](problems/202_happy_number.py)\n - [x] [204. Count Primes](https://leetcode.com/problems/count-primes) - [:page_with_curl:](problems/204_count_primes.py)\n - [x] [205. Isomorphic Strings](https://leetcode.com/problems/isomorphic-strings) - [:page_with_curl:](problems/205_isomorphic_strings.py)\n - [x] [215. Kth Largest Element In An Array](https://leetcode.com/problems/kth-largest-element-in-an-array) - [:page_with_curl:](problems/215_kth_largest_element_in_an_array.py)\n - [x] [217. Contains Duplicate](https://leetcode.com/problems/contains-duplicate) - [:page_with_curl:](problems/217_contains_duplicate.py)\n - [x] [238. Product Of Array Except Self](https://leetcode.com/problems/product-of-array-except-self) - [:page_with_curl:](problems/238_product_of_array_except_self.py)\n - [x] [242. Valid Anagram](https://leetcode.com/problems/valid-anagram) - [:page_with_curl:](problems/242_valid_anagram.py)\n - [x] [260. Single Number Iii](https://leetcode.com/problems/single-number-iii) - [:page_with_curl:](problems/260_single_number_iii.py)\n - [x] [283. Move Zeroes](https://leetcode.com/problems/move-zeroes) - [:page_with_curl:](problems/283_move_zeroes.py)\n - [x] [300. Longest Increasing Subsequence](https://leetcode.com/problems/longest-increasing-subsequence) - [:page_with_curl:](problems/300_longest_increasing_subsequence.py)\n - [x] [303. Range Sum Query Immutable](https://leetcode.com/problems/range-sum-query-immutable) - [:page_with_curl:](problems/303_range_sum_query_immutable.py)\n - [x] [326. Power Of Three](https://leetcode.com/problems/power-of-three) - [:page_with_curl:](problems/326_power_of_three.py)\n - [x] [344. Reverse String](https://leetcode.com/problems/reverse-string) - [:page_with_curl:](problems/344_reverse_string.py)\n - [x] [347. Top K Frequent Elements](https://leetcode.com/problems/top-k-frequent-elements) - [:page_with_curl:](problems/347_top_k_frequent_elements.py)\n - [x] [363. Max Sum Of Rectangle No Larger Than K](https://leetcode.com/problems/max-sum-of-rectangle-no-larger-than-k) - [:page_with_curl:](problems/363_max_sum_of_rectangle_no_larger_than_k.py)\n - [x] [371. Sum Of Two Integers](https://leetcode.com/problems/sum-of-two-integers) - [:page_with_curl:](problems/371_sum_of_two_integers.py)\n - [x] [387. First Unique Character In A String](https://leetcode.com/problems/first-unique-character-in-a-string) - [:page_with_curl:](problems/387_first_unique_character_in_a_string.py)\n - [x] [412. Fizz Buzz](https://leetcode.com/problems/fizz-buzz) - [:page_with_curl:](problems/412_fizz_buzz.py)\n - [x] [448. Find All Numbers Disappeared In An Array](https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array) - [:page_with_curl:](problems/448_find_all_numbers_disappeared_in_an_array.py)\n - [x] [485. Max Consecutive Ones](https://leetcode.com/problems/max-consecutive-ones) - [:page_with_curl:](problems/485_max_consecutive_ones.py)\n - [x] [535. Encode And Decode Tinyurl](https://leetcode.com/problems/encode-and-decode-tinyurl) - [:page_with_curl:](problems/535_encode_and_decode_tinyurl.py)\n - [x] [557. Reverse Words In A String Iii](https://leetcode.com/problems/reverse-words-in-a-string-iii) - [:page_with_curl:](problems/557_reverse_words_in_a_string_iii.py)\n - [x] [566. Reshape The Matrix](https://leetcode.com/problems/reshape-the-matrix) - [:page_with_curl:](problems/566_reshape_the_matrix.py)\n - [x] [583. Delete Operation For Two Strings](https://leetcode.com/problems/delete-operation-for-two-strings) - [:page_with_curl:](problems/583_delete_operation_for_two_strings.py)\n - [x] [665. Non Decreasing Array](https://leetcode.com/problems/non-decreasing-array) - [:page_with_curl:](problems/665_non_decreasing_array.py)\n - [x] [674. Longest Continuous Increasing Subsequence](https://leetcode.com/problems/longest-continuous-increasing-subsequence) - [:page_with_curl:](problems/674_longest_continuous_increasing_subsequence.py)\n - [x] [703. Kth Largest Element In A Stream](https://leetcode.com/problems/kth-largest-element-in-a-stream) - [:page_with_curl:](problems/703_kth_largest_element_in_a_stream.py)\n - [x] [717. 1 Bit And 2 Bit Characters](https://leetcode.com/problems/1-bit-and-2-bit-characters) - [:page_with_curl:](problems/717_1_bit_and_2_bit_characters.py)\n - [x] [724. Find Pivot Index](https://leetcode.com/problems/find-pivot-index) - [:page_with_curl:](problems/724_find_pivot_index.py)\n - [x] [728. Self Dividing Numbers](https://leetcode.com/problems/self-dividing-numbers) - [:page_with_curl:](problems/728_self_dividing_numbers.py)\n - [x] [771. Jewels And Stones](https://leetcode.com/problems/jewels-and-stones) - [:page_with_curl:](problems/771_jewels_and_stones.py)\n - [x] [849. Maximize Distance To Closest Person](https://leetcode.com/problems/maximize-distance-to-closest-person) - [:page_with_curl:](problems/849_maximize_distance_to_closest_person.py)\n - [x] [852. Peak Index In A Mountain Array](https://leetcode.com/problems/peak-index-in-a-mountain-array) - [:page_with_curl:](problems/852_peak_index_in_a_mountain_array.py)\n - [x] [1108. Defanging An Ip Address](https://leetcode.com/problems/defanging-an-ip-address) - [:page_with_curl:](problems/1108_defanging_an_ip_address.py)\n - [x] [1160. Find Words That Can Be Formed By Characters](https://leetcode.com/problems/find-words-that-can-be-formed-by-characters) - [:page_with_curl:](problems/1160_find_words_that_can_be_formed_by_characters.py)\n - [x] [1220. Count Vowel Permutation](https://leetcode.com/problems/count-vowel-permutation) - [:page_with_curl:](problems/1220_count_vowel_permutation.py)\n - [x] [1281. Subtract The Product And Sum Of Digits Of An Integer](https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer) - [:page_with_curl:](problems/1281_subtract_the_product_and_sum_of_digits_of_an_integer.py)\n - [x] [1313. Decompress Run Length Encoded List](https://leetcode.com/problems/decompress-run-length-encoded-list) - [:page_with_curl:](problems/1313_decompress_run_length_encoded_list.py)\n - [x] [1342. Number Of Steps To Reduce A Number To Zero](https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero) - [:page_with_curl:](problems/1342_number_of_steps_to_reduce_a_number_to_zero.py)\n - [x] [1365. How Many Numbers Are Smaller Than The Current Number](https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number) - [:page_with_curl:](problems/1365_how_many_numbers_are_smaller_than_the_current_number.py)\n - [x] [1389. Create Target Array In The Given Order](https://leetcode.com/problems/create-target-array-in-the-given-order) - [:page_with_curl:](problems/1389_create_target_array_in_the_given_order.py)\n - [x] [1431. Kids With The Greatest Number Of Candies](https://leetcode.com/problems/kids-with-the-greatest-number-of-candies) - [:page_with_curl:](problems/1431_kids_with_the_greatest_number_of_candies.py)\n - [x] [1470. Shuffle The Array](https://leetcode.com/problems/shuffle-the-array) - [:page_with_curl:](problems/1470_shuffle_the_array.py)\n - [x] [1480. Running Sum Of 1D Array](https://leetcode.com/problems/running-sum-of-1d-array) - [:page_with_curl:](problems/1480_running_sum_of_1d_array.py)\n - [x] [1512. Number Of Good Pairs](https://leetcode.com/problems/number-of-good-pairs) - [:page_with_curl:](problems/1512_number_of_good_pairs.py)\n - [x] [1528. Shuffle String](https://leetcode.com/problems/shuffle-string) - [:page_with_curl:](problems/1528_shuffle_string.py)\n - [x] [1556. Thousand Separator](https://leetcode.com/problems/thousand-separator) - [:page_with_curl:](problems/1556_thousand_separator.py)\n - [x] [1603. Design Parking System](https://leetcode.com/problems/design-parking-system) - [:page_with_curl:](problems/1603_design_parking_system.py)\n - [x] [1662. Check If Two String Arrays Are Equivalent](https://leetcode.com/problems/check-if-two-string-arrays-are-equivalent) - [:page_with_curl:](problems/1662_check_if_two_string_arrays_are_equivalent.py)\n - [x] [1663. Smallest String With A Given Numeric Value](https://leetcode.com/problems/smallest-string-with-a-given-numeric-value) - [:page_with_curl:](problems/1663_smallest_string_with_a_given_numeric_value.py)\n - [x] [1664. Ways To Make A Fair Array](https://leetcode.com/problems/ways-to-make-a-fair-array) - [:page_with_curl:](problems/1664_ways_to_make_a_fair_array.py)\n - [x] [1668. Maximum Repeating Substring](https://leetcode.com/problems/maximum-repeating-substring) - [:page_with_curl:](problems/1668_maximum_repeating_substring.py)\n - [x] [1672. Richest Customer Wealth](https://leetcode.com/problems/richest-customer-wealth) - [:page_with_curl:](problems/1672_richest_customer_wealth.py)\n - [x] [1678. Goal Parser Interpretation](https://leetcode.com/problems/goal-parser-interpretation) - [:page_with_curl:](problems/1678_goal_parser_interpretation.py)\n - [x] [1700. Number Of Students Unable To Eat Lunch](https://leetcode.com/problems/number-of-students-unable-to-eat-lunch) - [:page_with_curl:](problems/1700_number_of_students_unable_to_eat_lunch.py)\n - [x] [1720. Decode Xored Array](https://leetcode.com/problems/decode-xored-array) - [:page_with_curl:](problems/1720_decode_xored_array.py)\n - [x] [1880. Check If Word Equals Summation Of Two Words](https://leetcode.com/problems/check-if-word-equals-summation-of-two-words) - [:page_with_curl:](problems/1880_check_if_word_equals_summation_of_two_words.py)\n - [x] [1920. Build Array From Permutation](https://leetcode.com/problems/build-array-from-permutation) - [:page_with_curl:](problems/1920_build_array_from_permutation.py)\n - [x] [1929. Concatenation Of Array](https://leetcode.com/problems/concatenation-of-array) - [:page_with_curl:](problems/1929_concatenation_of_array.py)\n - [x] [1930. Unique Length 3 Palindromic Subsequences](https://leetcode.com/problems/unique-length-3-palindromic-subsequences) - [:page_with_curl:](problems/1930_unique_length_3_palindromic_subsequences.py)\n - [x] [1935. Maximum Number Of Words You Can Type](https://leetcode.com/problems/maximum-number-of-words-you-can-type) - [:page_with_curl:](problems/1935_maximum_number_of_words_you_can_type.py)\n - [x] [1936. Add Minimum Number Of Rungs](https://leetcode.com/problems/add-minimum-number-of-rungs) - [:page_with_curl:](problems/1936_add_minimum_number_of_rungs.py)\n - [x] [2264. Largest 3 Same Digit Number In String](https://leetcode.com/problems/largest-3-same-digit-number-in-string) - [:page_with_curl:](problems/2264_largest_3_same_digit_number_in_string.py)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasi0013%2Fleet_code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasi0013%2Fleet_code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasi0013%2Fleet_code/lists"}