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
Events
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 }}
codezoned
Code
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
Code
/
array
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
Code
/
array
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
array_pair_sum.cpp
array_pair_sum.cpp
array_product_except_ith_element.cpp
array_product_except_ith_element.cpp
binary_search.cpp
binary_search.cpp
connect_ropes_with_min_cost.cpp
connect_ropes_with_min_cost.cpp
count_of_element_binary_search.cpp
count_of_element_binary_search.cpp
distinct_element_in_window_of_size_k.cpp
distinct_element_in_window_of_size_k.cpp
first_and_last_occurence_of_element_binary_search.cpp
first_and_last_occurence_of_element_binary_search.cpp
floor_of_num_in_sorted_array_binary_search.cpp
floor_of_num_in_sorted_array_binary_search.cpp
generate_all_subarrays.cpp
generate_all_subarrays.cpp
inversion_count_merge_sort.cpp
inversion_count_merge_sort.cpp
juggling_rotation.cpp
juggling_rotation.cpp
k_closest_num_max_heap.cpp
k_closest_num_max_heap.cpp
k_closest_points_to_origin.cpp
k_closest_points_to_origin.cpp
k_largest_num_min_heap.cpp
k_largest_num_min_heap.cpp
kadanes_algorithm.cpp
kadanes_algorithm.cpp
kth_smallest_num_max_heap.cpp
kth_smallest_num_max_heap.cpp
largest_subarray_with_sum_0.cpp
largest_subarray_with_sum_0.cpp
max_hamming_distance.cpp
max_hamming_distance.cpp
merge_intervals.cpp
merge_intervals.cpp
merge_two_sorted_array_O(1)_space.cpp
merge_two_sorted_array_O(1)_space.cpp
missing_and_repeating_number.cpp
missing_and_repeating_number.cpp
num_of_rotation_in_sorted_array_binary_search.cpp
num_of_rotation_in_sorted_array_binary_search.cpp
quick_left_rotate.cpp
quick_left_rotate.cpp
rotated_max_i_multiply_ai.cpp
rotated_max_i_multiply_ai.cpp
rotated_pivot_point.cpp
rotated_pivot_point.cpp
rotated_search.cpp
rotated_search.cpp
set_matrix_ones_in_O(1).cpp
set_matrix_ones_in_O(1).cpp
sort_k_sorted_array.cpp
sort_k_sorted_array.cpp
sorted_rotated_min_search.cpp
sorted_rotated_min_search.cpp
sorted_rotated_sum_pair_search.cpp
sorted_rotated_sum_pair_search.cpp
sum_of_elements_between_k1_k2_th_smallest.cpp
sum_of_elements_between_k1_k2_th_smallest.cpp
three_sum_problem.cpp
three_sum_problem.cpp
top_k_frequent_nums_min_heap.cpp
top_k_frequent_nums_min_heap.cpp
trapping_rain_water.cpp
trapping_rain_water.cpp
View all files
You can’t perform that action at this time.