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 }}
sureshmangs
/
Code
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
12
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
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
longest_non_decreasing_subsequence.cpp
longest_non_decreasing_subsequence.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.