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 }}
mumer29
CompetitiveProgrammingQuestionBank
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
CompetitiveProgrammingQuestionBank
/
Arrays
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
CompetitiveProgrammingQuestionBank
/
Arrays
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
Array Reversal.c
Array Reversal.c
Array Reversal.py
Array Reversal.py
Average_Calculator.py
Average_Calculator.py
Binary_Numbers.py
Binary_Numbers.py
CommonElements.cpp
CommonElements.cpp
CommonElements.py
CommonElements.py
CommonElementsOptimal.cpp
CommonElementsOptimal.cpp
Divisor_Sum.py
Divisor_Sum.py
Fair Playoff.cpp
Fair Playoff.cpp
Hourglass_Sum.py
Hourglass_Sum.py
KLargestpairs.py
KLargestpairs.py
Kadane's_Algorithm.cpp
Kadane's_Algorithm.cpp
Kadane's_Algorithm.py
Kadane's_Algorithm.py
Kth_smallest_element_in_an_array_using_heap.cpp
Kth_smallest_element_in_an_array_using_heap.cpp
Leap_Year.py
Leap_Year.py
LeftRightSumEqual.cpp
LeftRightSumEqual.cpp
Max_XOR_of_Two_Array.cpp
Max_XOR_of_Two_Array.cpp
Max_diff_in_array.c
Max_diff_in_array.c
Maximum_Difference.py
Maximum_Difference.py
Median_of_two_Sorted_arrays_of_different_size.cpp
Median_of_two_Sorted_arrays_of_different_size.cpp
Median_of_two_sorted_array.java
Median_of_two_sorted_array.java
Min_Max_Sum.py
Min_Max_Sum.py
Minimize_the_height.cpp
Minimize_the_height.cpp
Minimum_XOR_Value.cpp
Minimum_XOR_Value.cpp
Missing_integer.cpp
Missing_integer.cpp
N_unique_numbers_sum_upto_zero.cpp
N_unique_numbers_sum_upto_zero.cpp
PeakElement.java
PeakElement.java
QueryingArray.cpp
QueryingArray.cpp
Rotate Array (LeetCode)-Top Interview Que-Easy Level.cpp
Rotate Array (LeetCode)-Top Interview Que-Easy Level.cpp
RunningSumOf1dArray.cpp
RunningSumOf1dArray.cpp
ShortestContinuousSubarray.py
ShortestContinuousSubarray.py
ShuffleTheArray.cpp
ShuffleTheArray.cpp
TwoSum.cpp
TwoSum.cpp
containerWithMostWater.cpp
containerWithMostWater.cpp
duplicates_in_array.cpp
duplicates_in_array.cpp
duplicates_in_array.py
duplicates_in_array.py
element_left_smaller_right_greater.cpp
element_left_smaller_right_greater.cpp
findMinimumInRotatedSortedArray.cpp
findMinimumInRotatedSortedArray.cpp
first_missing_positive.cpp
first_missing_positive.cpp
index_of_an_extra_element.cpp
index_of_an_extra_element.cpp
integer.c
integer.c
kadane's_algorithm.c
kadane's_algorithm.c
kadanes.java
kadanes.java
largest_sum_subarray.java
largest_sum_subarray.java
leaders_in_an_array.cpp
leaders_in_an_array.cpp
leap.java
leap.java
left_rotate_by_d_brute_force.cpp
left_rotate_by_d_brute_force.cpp
left_rotate_by_d_extra_space.cpp
left_rotate_by_d_extra_space.cpp
left_rotate_by_d_no_extra_space.cpp
left_rotate_by_d_no_extra_space.cpp
max_and_min_element.cpp
max_and_min_element.cpp
max_prod_of_two_elements.cpp
max_prod_of_two_elements.cpp
merge_two_sorted_arrays.cpp
merge_two_sorted_arrays.cpp
missing_number_in_array.cpp
missing_number_in_array.cpp
move_zeroes_end_1traversal.cpp
move_zeroes_end_1traversal.cpp
move_zeroes_end_2traversal.cpp
move_zeroes_end_2traversal.cpp
peek_element.cpp
peek_element.cpp
remove_duplicates_from_sorted_array.cpp
remove_duplicates_from_sorted_array.cpp
remove_duplicates_from_sorted_array.py
remove_duplicates_from_sorted_array.py
replace_elements_with_greatest_element_on_right.cpp
replace_elements_with_greatest_element_on_right.cpp
searchInRotatedSortedArray.cpp
searchInRotatedSortedArray.cpp
sort_an_array_of_0s_1s_and_2s.cpp
sort_an_array_of_0s_1s_and_2s.cpp
sort_elements_of_array_by_freq.cpp
sort_elements_of_array_by_freq.cpp
subset_of_array.cpp
subset_of_array.cpp
subset_of_array.py
subset_of_array.py
sum_of_all_subarrays.cpp
sum_of_all_subarrays.cpp
sum_of_elements_to_right.cpp
sum_of_elements_to_right.cpp
sum_of_other_elements.cpp
sum_of_other_elements.cpp
sum_of_three_values.c++
sum_of_three_values.c++
sum_positions.cpp
sum_positions.cpp
trapping_rain_water_brute_force.cpp
trapping_rain_water_brute_force.cpp
trapping_rain_water_extra_space.cpp
trapping_rain_water_extra_space.cpp
trapping_rain_water_two_pointer.cpp
trapping_rain_water_two_pointer.cpp
trappingrainwater.cpp
trappingrainwater.cpp
triplet_sum.cpp
triplet_sum.cpp
zero_sum_subarray.java
zero_sum_subarray.java
View all files
You can’t perform that action at this time.