{"id":17028550,"url":"https://github.com/kevinknights29/leetcode_gym","last_synced_at":"2025-03-22T19:46:27.591Z","repository":{"id":226997502,"uuid":"770142473","full_name":"kevinknights29/Leetcode_Gym","owner":"kevinknights29","description":"This project contains the problems I solved from leetcode and their variants in multiple languages.","archived":false,"fork":false,"pushed_at":"2024-11-07T14:50:35.000Z","size":211,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T23:46:42.948Z","etag":null,"topics":["algorithms-and-data-structures","leetcode","neetcode"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"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/kevinknights29.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":"2024-03-11T02:11:28.000Z","updated_at":"2024-11-07T14:50:47.000Z","dependencies_parsed_at":"2024-05-01T05:24:38.968Z","dependency_job_id":"4df34a0b-9c52-4ece-aded-3b7a7754e384","html_url":"https://github.com/kevinknights29/Leetcode_Gym","commit_stats":null,"previous_names":["kevinknights29/leetcode_gym"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinknights29%2FLeetcode_Gym","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinknights29%2FLeetcode_Gym/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinknights29%2FLeetcode_Gym/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinknights29%2FLeetcode_Gym/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinknights29","download_url":"https://codeload.github.com/kevinknights29/Leetcode_Gym/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245013985,"owners_count":20547178,"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":["algorithms-and-data-structures","leetcode","neetcode"],"created_at":"2024-10-14T07:54:56.705Z","updated_at":"2025-03-22T19:46:27.552Z","avatar_url":"https://github.com/kevinknights29.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Leetcode_Gym\n\nThis project contains the problems I solved from Leetcode and its variants in multiple languages.\n\n## Overview\n\n```mermaid\nxychart-beta horizontal\n    title \"LeetCode Problems\"\n    x-axis \"Category\" [array_and_hashing, two_pointers, stack, binary_search, sliding_window, dynamic_programming, heap, trees, graphs]\n    y-axis \"Solved\" 0 --\u003e 19\n    bar [18, 5, 8, 9, 7, 4, 3, 1, 1]\n```\n\n## Framework to solve problems\n\n![image](https://github.com/kevinknights29/Leetcode_Gym/assets/74464814/752b9d0d-ce05-441d-81ec-038a7d49bec2)\n\nSource: [*Cracking the Coding Interview 6th Ed.* by Gale Laakman McDowell](https://amzn.to/4a7D9Ka)\n\n## Solved\n\n### Arrays and Hashing [18]\n\n- [X] [1. Two Sum](./array_and_hashing/1_two_sum/problem.md)\n\n- [X] [36. Valid Sudoku](./array_and_hashing/36_valid_sudoku/problem.md)\n\n- [X] [49. Group Anagrams](./array_and_hashing/49_group_anagrams/problem.md)\n\n- [X] [128. Longest Consecutive Sequence](./array_and_hashing/128_longest_consecutive_sequence/problem.md)\n\n- [X] [217. Contains Duplicate](./array_and_hashing/217_contains_duplicates/problem.md)\n\n- [X] [238. Product of Array Except Self](./array_and_hashing/238_product_of_array_except_self/problem.md)\n\n- [X] [242. Valid Anagram](./array_and_hashing/242_valid_anagram/problem.md)\n\n- [X] [271. Encode and Decode Strings](./array_and_hashing/271_encode_and_decode_strings/problem.md)\n\n- [X] [347. Top K Frequent Elements](./array_and_hashing/347_top_k_frequent_elements/problem.md)\n\n- [X] [3270. Find the Key of the Numbers](./array_and_hashing/3270_find_the_key_of_the_numbers/problem.md)\n\n- [X] [3271. Hash Divided String](./array_and_hashing/3271_hash_divided_string/problem.md)\n\n- [X] [3274. Check if Two Chessboard Squares Have the Same Color](./array_and_hashing/3274_check_if_two_chessboard_squares_have_the_same_color/problem.md)\n\n- [X] [3280. Convert Date to Binary](./array_and_hashing/3280_convert_date_to_binary/problem.md)\n\n- [X] [3289. The Two Sneaky Numbers of Digitville](./array_and_hashing/3289_the_two_sneaky_numbers_of_digitville/problem.md)\n\n- [X] [3541. Report Spam Message](./array_and_hashing/3541_report_spam_message/description.md)\n\n- [X] [3606. Minimum Element After Replacement With Digit Sum](./array_and_hashing/3606_minimum_element_after_replacement_with_digit_sum/description.md)\n\n- [X] [3510. Maximize the Total Height of Unique Towers](./array_and_hashing/3510_maximize_the_total_height_of_unique_towers/description.md)\n\n- [X] [3605. Construct the Minimum Bitwise Array I](./array_and_hashing/3605_construct_the_minimum_bitwise_array_i/description.md)\n\n### Two Pointers [5]\n\n- [X] [11. Container With Most Water](./two_pointers/11_container_with_most_water/problem.md)\n\n- [X] [15. 3Sum](./two_pointers/15_3sum/problem.md)\n\n- [X] [42. Trapping Rain Water](./two_pointers/42_trapping_rain_water/problem.md)\n\n- [X] [125. Valid Palindrome](./two_pointers/125_valid_palindrome/problem.md)\n\n- [X] [167. Two Sum II - Input Array Is Sorted](./two_pointers/167_two_sum_II_input_array_is_sorted/problem.md)\n\n### Stack [8]\n\n- [X] [20. Valid Parentheses](./stack/20_valid_parentheses/problem.md)\n\n- [X] [22. Generate Parentheses](./stack/22_generate_parentheses/problem.md)\n\n- [X] [84. Largest Rectangle in Histogram](./stack/84_largest_rectangle_in_histogram/problem.md)\n\n- [X] [150. Evaluate Reverse Polish Notation](./stack/150_evaluate_reverse_polish_notation/problem.md)\n\n- [X] [155. Min Stack](./stack/155_min_stack/problem.md)\n\n- [X] [739. Daily Temperatures](./stack/739_daily_temperatures/problem.md)\n\n- [X] [853. Car Fleet](./stack/853_car_fleet/problem.md)\n\n- [X] [3282. Reach End of Array With Max Score](./stack/3282_reach_end_of_array_with_max_score/problem.md)\n\n### Binary Search [9]\n\n- [X] [4. Median of Two Sorted Arrays](./binary_search/4_median_of_two_sorted_arrays/problem.md)\n\n- [X] [33. Search in Rotated Sorted Array](./binary_search/33_search_in_rotated_sorted_array/problem.md)\n\n- [X] [74. Search a 2D Matrix](./binary_search/74_search_a_2d_matrix/problem.md)\n\n- [X] [153. Find Minimum in Rotated Sorted Array](./binary_search/153_find_minimum_in_rotated_sorted_array/problem.md)\n\n- [X] [704. Binary Search](./binary_search/704_binary_search/problem.md)\n\n- [X] [875. Koko Eating Bananas](./binary_search/875_koko_eating_bananas/description.md)\n\n- [X] [981. Time Based Key-Value Store](./binary_search/981_time_based_key_value_store/problem.md)\n\n- [X] [3281. Maximize Score of Numbers in Ranges](./binary_search/3281_maximize_score_of_numbers_in_ranges/problem.md)\n\n- [X] [3611. Construct the Minimum Bitwise Array II](./binary_search/3611_construct_the_minimum_bitwise_array_ii/description.md)\n\n### Sliding Window [7]\n\n- [X] [3. Longest Substring Without Repeating Characters](./sliding_window/3_longest_substring_without_repeating_characters/problem.md)\n\n- [X] [121. Best Time to Buy and Sell Stock](./sliding_window/121_best_time_to_buy_and_sell_stock/problem.md)\n\n- [X] [424. Longest Repeating Character Replacement](./sliding_window/424_longest_repeating_character_replacement/problem.md)\n\n- [X] [3258. Count Substrings That Satisfy K-Constraint I](./sliding_window/3258_count_substrings_that_satisfy_k-constraint_i/problem.md)\n\n- [X] [3573. Count Substrings That Can Be Rearranged to Contain a String I](./sliding_window/3573_count_substrings_that_can_be_rearranged_to_contain_a_string_i/description.md)\n\n- [X] [3570. Count of Substrings Containing Every Vowel and K Consonants I](./sliding_window/3570_count_of_substrings_containing_every_vowel_and_k_consonants_i/description.md)\n\n- [X] [567. Permutation in String](./sliding_window/567_permutation_in_string/description.md)\n\n### Dynamic Programming [4]\n\n- [X] [3259. Maximum Energy Boost From Two Drinks](./dynamic_programming/3259_maximum_energy_boost_from_two_drinks/problem.md)\n\n- [X] [3290. Maximum Multiplication Score](./dynamic_programming/3290_maximum_multiplication_score/problem.md)\n\n- [X] [3487. Find Maximum Removals From Source String](./dynamic_programming/3487_find_maximum_removals_from_source_string/description.md)\n\n- [X] [3584. Find the Lexicographically Smallest Valid Sequence](./dynamic_programming/3584_find_the_lexicographically_smallest_valid_sequence/description.md)\n\n### Heap [3]\n\n- [X] [3264. Final Array State After K Multiplication Operations I](./heap/3264_final_array_state_after_k_multiplication_operations_I/problem.md)\n\n- [X] [3275. K-th Nearest Obstacle Queries](./heap/3275_k-th_nearest_obstacle_queries/problem.md)\n\n- [X] [3496. Minimum Number of Seconds to Make Mountain Height Zero](./heap/3496_minimum_number_of_seconds_to_make_mountain_height_zero/description.md)\n\n### Trees [1]\n\n- [3286. Find a Safe Walk Through a Grid](./trees/3286_find_a_safe_walk_through_a_grid/problem.md)\n\n### Graphs [1]\n\n- [3561. Remove Methods From Project](./graphs/3561_remove_methods_from_project/description.md)\\\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinknights29%2Fleetcode_gym","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinknights29%2Fleetcode_gym","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinknights29%2Fleetcode_gym/lists"}