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
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
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 }}
emma-studio
leetcode-java
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
leetcode-java
/
src
/
main
/
java
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
leetcode-java
/
src
/
main
/
java
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
_3sum
_3sum
_3sum_closest
_3sum_closest
_4sum
_4sum
add_binary
add_binary
add_two_numbers
add_two_numbers
anagrams
anagrams
balanced_binary_tree
balanced_binary_tree
best_time_to_buy_and_sell_stock
best_time_to_buy_and_sell_stock
best_time_to_buy_and_sell_stock_ii
best_time_to_buy_and_sell_stock_ii
best_time_to_buy_and_sell_stock_iii
best_time_to_buy_and_sell_stock_iii
best_time_to_buy_and_sell_stock_iv
best_time_to_buy_and_sell_stock_iv
binary_search_tree_iterator
binary_search_tree_iterator
binary_tree_inorder_traversal
binary_tree_inorder_traversal
binary_tree_level_order_traversal
binary_tree_level_order_traversal
binary_tree_level_order_traversal_ii
binary_tree_level_order_traversal_ii
binary_tree_maximum_path_sum
binary_tree_maximum_path_sum
binary_tree_postorder_traversal
binary_tree_postorder_traversal
binary_tree_preorder_traversal
binary_tree_preorder_traversal
binary_tree_right_side_view
binary_tree_right_side_view
binary_tree_zigzag_level_order_traversal
binary_tree_zigzag_level_order_traversal
bitwise_and_of_numbers_range
bitwise_and_of_numbers_range
candy
candy
climbing_stairs
climbing_stairs
clone_graph
clone_graph
combination_sum
combination_sum
combination_sum_ii
combination_sum_ii
combinations
combinations
common
common
compare_version_numbers
compare_version_numbers
construct_binary_tree_from_inorder_and_postorder_traversal
construct_binary_tree_from_inorder_and_postorder_traversal
construct_binary_tree_from_preorder_and_inorder_traversal
construct_binary_tree_from_preorder_and_inorder_traversal
container_with_most_water
container_with_most_water
convert_sorted_array_to_binary_search_tree
convert_sorted_array_to_binary_search_tree
convert_sorted_list_to_binary_search_tree
convert_sorted_list_to_binary_search_tree
copy_list_with_random_pointer
copy_list_with_random_pointer
count_and_say
count_and_say
count_primes
count_primes
course_schedule
course_schedule
decode_ways
decode_ways
distinct_subsequences
distinct_subsequences
divide_two_integers
divide_two_integers
dungeon_game
dungeon_game
edit_distance
edit_distance
evaluate_reverse_polish_notation
evaluate_reverse_polish_notation
excel_sheet_column_number
excel_sheet_column_number
excel_sheet_column_title
excel_sheet_column_title
factorial_trailing_zeroes
factorial_trailing_zeroes
find_minimum_in_rotated_sorted_array
find_minimum_in_rotated_sorted_array
find_minimum_in_rotated_sorted_array_ii
find_minimum_in_rotated_sorted_array_ii
find_peak_element
find_peak_element
first_missing_positive
first_missing_positive
flatten_binary_tree_to_linked_list
flatten_binary_tree_to_linked_list
fraction_to_recurring_decimal
fraction_to_recurring_decimal
gas_station
gas_station
generate_parentheses
generate_parentheses
gray_code
gray_code
house_robber
house_robber
implement_strstr
implement_strstr
implement_trie
implement_trie
insert_interval
insert_interval
insertion_sort_list
insertion_sort_list
integer_to_roman
integer_to_roman
interleaving_string
interleaving_string
intersection_of_two_linked_lists
intersection_of_two_linked_lists
isomorphic_strings
isomorphic_strings
jump_game
jump_game
jump_game_ii
jump_game_ii
largest_number
largest_number
largest_rectangle_in_histogram
largest_rectangle_in_histogram
length_of_last_word
length_of_last_word
letter_combinations_of_a_phone_number
letter_combinations_of_a_phone_number
linked_list_cycle
linked_list_cycle
linked_list_cycle_ii
linked_list_cycle_ii
longest_common_prefix
longest_common_prefix
longest_consecutive_sequence
longest_consecutive_sequence
longest_palindromic_substring
longest_palindromic_substring
longest_substring_without_repeating_characters
longest_substring_without_repeating_characters
longest_valid_parentheses
longest_valid_parentheses
lru_cache
lru_cache
majority_element
majority_element
max_points_on_a_line
max_points_on_a_line
maximal_rectangle
maximal_rectangle
maximum_depth_of_binary_tree
maximum_depth_of_binary_tree
maximum_gap
maximum_gap
maximum_product_subarray
maximum_product_subarray
maximum_subarray
maximum_subarray
median_of_two_sorted_arrays
median_of_two_sorted_arrays
merge_intervals
merge_intervals
merge_k_sorted_lists
merge_k_sorted_lists
merge_sorted_array
merge_sorted_array
merge_two_sorted_lists
merge_two_sorted_lists
min_stack
min_stack
minimum_depth_of_binary_tree
minimum_depth_of_binary_tree
minimum_path_sum
minimum_path_sum
minimum_window_substring
minimum_window_substring
multiply_strings
multiply_strings
n_queens
n_queens
n_queens_ii
n_queens_ii
next_permutation
next_permutation
number_of_1_bits
number_of_1_bits
View all files
You can’t perform that action at this time.