Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to 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 }}
ADkun
/
leetcode
Public
forked from
begeekmyfriend/leetcode
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
186 Commits
186 Commits
001_two_sum
001_two_sum
002_add_two_numbers
002_add_two_numbers
003_longest_substring_without_repeat
003_longest_substring_without_repeat
004_median_of_two_sorted_array
004_median_of_two_sorted_array
005_longest_palindromic_substring
005_longest_palindromic_substring
006_zigzag_conversion
006_zigzag_conversion
007_reverse_integer
007_reverse_integer
008_atoi
008_atoi
009_palindrome_number
009_palindrome_number
010_regular_expression_matching
010_regular_expression_matching
011_container_with_most_water
011_container_with_most_water
012_roman_numeral
012_roman_numeral
013_roman_to_integer
013_roman_to_integer
014_longest_common_prefix
014_longest_common_prefix
015_three_sum
015_three_sum
016_three_sum_closest
016_three_sum_closest
017_letter_combinations_of_a_phone_number
017_letter_combinations_of_a_phone_number
018_four_sum
018_four_sum
019_remove_nth_node_from_end_of_list
019_remove_nth_node_from_end_of_list
020_valid_parentheses
020_valid_parentheses
021_merge_two_sorted_lists
021_merge_two_sorted_lists
022_generate_paratheses
022_generate_paratheses
023_merge_k_sorted_lists
023_merge_k_sorted_lists
024_swap_nodes_in_pairs
024_swap_nodes_in_pairs
025_reverse_nodes_in_k_group
025_reverse_nodes_in_k_group
026_remove_duplicates_from_sorted_array
026_remove_duplicates_from_sorted_array
027_remove_element
027_remove_element
028_implement_strstr
028_implement_strstr
029_divide_two_integers
029_divide_two_integers
030_substring_with_concatenation_of_all_words
030_substring_with_concatenation_of_all_words
031_next_permutation
031_next_permutation
032_longest_valid_parentheses
032_longest_valid_parentheses
033_search_in_rotated_sorted_array
033_search_in_rotated_sorted_array
034_search_for_a_range
034_search_for_a_range
035_search_insert_position
035_search_insert_position
036_valid_sudoku
036_valid_sudoku
037_sudoku_solver
037_sudoku_solver
038_count_and_say
038_count_and_say
039_combination_sum
039_combination_sum
040_combination_sum_ii
040_combination_sum_ii
041_first_missing_positive
041_first_missing_positive
042_trapping_rain_water
042_trapping_rain_water
043_multiply_strings
043_multiply_strings
044_wildcard_matching
044_wildcard_matching
045_jump_game_ii
045_jump_game_ii
046_permutations
046_permutations
047_permutations_ii
047_permutations_ii
048_rotate_image
048_rotate_image
049_group_anagrams
049_group_anagrams
050_pow
050_pow
051_n_queens
051_n_queens
052_n_queens
052_n_queens
053_maximum_subarray
053_maximum_subarray
054_spiral_matrix
054_spiral_matrix
055_jump_game
055_jump_game
056_merge_intervals
056_merge_intervals
057_insert_interval
057_insert_interval
058_length_of_last_word
058_length_of_last_word
059_spiral_matrix_ii
059_spiral_matrix_ii
060_permutation_sequence
060_permutation_sequence
061_rotate_list
061_rotate_list
062_unique_path
062_unique_path
063_unique_paths_ii
063_unique_paths_ii
064_minumum_path_sum
064_minumum_path_sum
065_valid_number
065_valid_number
066_plus_one
066_plus_one
067_add_binary
067_add_binary
068_text_justification
068_text_justification
069_sqrt
069_sqrt
070_climbing_stairs
070_climbing_stairs
071_simplify_path
071_simplify_path
072_edit_distance
072_edit_distance
073_set_matrix_zeroes
073_set_matrix_zeroes
074_search_a_2d_matrix
074_search_a_2d_matrix
075_sort_colors
075_sort_colors
076_minimum_window_substring
076_minimum_window_substring
077_combinations
077_combinations
078_subsets
078_subsets
079_word_search
079_word_search
080_remove_duplicates_from_sorted_array_ii
080_remove_duplicates_from_sorted_array_ii
081_search_in_rotated_sorted_array_ii
081_search_in_rotated_sorted_array_ii
082_remove_duplicates_from_sorted_list_ii
082_remove_duplicates_from_sorted_list_ii
083_remove_duplicates_from_sorted_list
083_remove_duplicates_from_sorted_list
084_largest_rectangle_in_histogram
084_largest_rectangle_in_histogram
085_maximal_rectangle
085_maximal_rectangle
086_partition_list
086_partition_list
087_scramble_string
087_scramble_string
088_merge_sorted_array
088_merge_sorted_array
089_gray_code
089_gray_code
090_subsets_ii
090_subsets_ii
091_decode_ways
091_decode_ways
092_reverse_linked_list_ii
092_reverse_linked_list_ii
093_restore_ip_addresses
093_restore_ip_addresses
094_binary_tree_inorder_traversal
094_binary_tree_inorder_traversal
095_unique_binary_search_trees_ii
095_unique_binary_search_trees_ii
096_unique_binary_search_trees
096_unique_binary_search_trees
097_interleaving_string
097_interleaving_string
098_validate_binary_search_tree
098_validate_binary_search_tree
099_recover_binary_search_tree
099_recover_binary_search_tree
100_same_tree
100_same_tree
View all files
Repository files navigation
README
MIT license
More
items
leetcode
Let's fuck it up
About
LeetCode in pure C
Resources
Readme
MIT 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.