Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
optimizecompile
leetcode
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
leetcode
Public
forked from
begeekmyfriend/leetcode
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
About
LeetCode in pure C
Resources
Readme
License
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
386 Commits
386 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0001_two_sum
0001_two_sum
0002_add_two_numbers
0002_add_two_numbers
0003_longest_substring_without_repeat
0003_longest_substring_without_repeat
0004_median_of_two_sorted_array
0004_median_of_two_sorted_array
0005_longest_palindromic_substring
0005_longest_palindromic_substring
0006_zigzag_conversion
0006_zigzag_conversion
0007_reverse_integer
0007_reverse_integer
0008_atoi
0008_atoi
0009_palindrome_number
0009_palindrome_number
0010_regular_expression_matching
0010_regular_expression_matching
0011_container_with_most_water
0011_container_with_most_water
0012_roman_numeral
0012_roman_numeral
0013_roman_to_integer
0013_roman_to_integer
0014_longest_common_prefix
0014_longest_common_prefix
0015_three_sum
0015_three_sum
0016_three_sum_closest
0016_three_sum_closest
0017_letter_combinations_of_a_phone_number
0017_letter_combinations_of_a_phone_number
0018_four_sum
0018_four_sum
0019_remove_nth_node_from_end_of_list
0019_remove_nth_node_from_end_of_list
0020_valid_parentheses
0020_valid_parentheses
0021_merge_two_sorted_lists
0021_merge_two_sorted_lists
0022_generate_parathesis
0022_generate_parathesis
0023_merge_k_sorted_lists
0023_merge_k_sorted_lists
0024_swap_nodes_in_pairs
0024_swap_nodes_in_pairs
0025_reverse_nodes_in_k_group
0025_reverse_nodes_in_k_group
0026_remove_duplicates_from_sorted_array
0026_remove_duplicates_from_sorted_array
0027_remove_element
0027_remove_element
0028_implement_strstr
0028_implement_strstr
0029_divide_two_integers
0029_divide_two_integers
0030_substring_with_concatenation_of_all_words
0030_substring_with_concatenation_of_all_words
0031_next_permutation
0031_next_permutation
0032_longest_valid_parentheses
0032_longest_valid_parentheses
0033_search_in_rotated_sorted_array
0033_search_in_rotated_sorted_array
0034_search_for_a_range
0034_search_for_a_range
0035_search_insert_position
0035_search_insert_position
0036_valid_sudoku
0036_valid_sudoku
0037_sudoku_solver
0037_sudoku_solver
0038_count_and_say
0038_count_and_say
0039_combination_sum
0039_combination_sum
0040_combination_sum_ii
0040_combination_sum_ii
0041_first_missing_positive
0041_first_missing_positive
0042_trapping_rain_water
0042_trapping_rain_water
0043_multiply_strings
0043_multiply_strings
0044_wildcard_matching
0044_wildcard_matching
0045_jump_game_ii
0045_jump_game_ii
0046_permutations
0046_permutations
0047_permutations_ii
0047_permutations_ii
0048_rotate_image
0048_rotate_image
0049_group_anagrams
0049_group_anagrams
0050_pow
0050_pow
0051_n_queens
0051_n_queens
0052_n_queens_ii
0052_n_queens_ii
0053_maximum_subarray
0053_maximum_subarray
0054_spiral_matrix
0054_spiral_matrix
0055_jump_game
0055_jump_game
0056_merge_intervals
0056_merge_intervals
0057_insert_interval
0057_insert_interval
0058_length_of_last_word
0058_length_of_last_word
0059_spiral_matrix_ii
0059_spiral_matrix_ii
0060_permutation_sequence
0060_permutation_sequence
0061_rotate_list
0061_rotate_list
0062_unique_path
0062_unique_path
0063_unique_paths_ii
0063_unique_paths_ii
0064_minumum_path_sum
0064_minumum_path_sum
0065_valid_number
0065_valid_number
0066_plus_one
0066_plus_one
0067_add_binary
0067_add_binary
0068_text_justification
0068_text_justification
0069_sqrt
0069_sqrt
0070_climbing_stairs
0070_climbing_stairs
0071_simplify_path
0071_simplify_path
0072_edit_distance
0072_edit_distance
0073_set_matrix_zeroes
0073_set_matrix_zeroes
0074_search_a_2d_matrix
0074_search_a_2d_matrix
0075_sort_colors
0075_sort_colors
0076_minimum_window_substring
0076_minimum_window_substring
0077_combinations
0077_combinations
0078_subsets
0078_subsets
0079_word_search
0079_word_search
0080_remove_duplicates_from_sorted_array_ii
0080_remove_duplicates_from_sorted_array_ii
0081_search_in_rotated_sorted_array_ii
0081_search_in_rotated_sorted_array_ii
0082_remove_duplicates_from_sorted_list_ii
0082_remove_duplicates_from_sorted_list_ii
0083_remove_duplicates_from_sorted_list
0083_remove_duplicates_from_sorted_list
0084_largest_rectangle_in_histogram
0084_largest_rectangle_in_histogram
0085_maximal_rectangle
0085_maximal_rectangle
0086_partition_list
0086_partition_list
0087_scramble_string
0087_scramble_string
0088_merge_sorted_array
0088_merge_sorted_array
0089_gray_code
0089_gray_code
0090_subsets_ii
0090_subsets_ii
0091_decode_ways
0091_decode_ways
0092_reverse_linked_list_ii
0092_reverse_linked_list_ii
0093_restore_ip_addresses
0093_restore_ip_addresses
0094_binary_tree_inorder_traversal
0094_binary_tree_inorder_traversal
0095_unique_binary_search_trees_ii
0095_unique_binary_search_trees_ii
0096_unique_binary_search_trees
0096_unique_binary_search_trees
0097_interleaving_string
0097_interleaving_string
0098_validate_binary_search_tree
0098_validate_binary_search_tree
0099_recover_binary_search_tree
0099_recover_binary_search_tree
0100_same_tree
0100_same_tree
View all files
Repository files navigation
README
License
More
items
LEETCODE SOLUTIONS
Easy and Understandable C/C++ Solutions of Some Leetcode Questions.
About
LeetCode in pure C
Resources
Readme
License
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.