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 }}
Abhinavcode13
dsa-algos
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
dsa-algos
/
Arrays
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
main
Breadcrumbs
dsa-algos
/
Arrays
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
array_of_products.cpp
array_of_products.cpp
array_of_products.go
array_of_products.go
array_of_products.java
array_of_products.java
array_of_products.js
array_of_products.js
array_of_products.py
array_of_products.py
ceaser_cipher.cpp
ceaser_cipher.cpp
ceaser_cipher.go
ceaser_cipher.go
ceaser_cipher.java
ceaser_cipher.java
ceaser_cipher.js
ceaser_cipher.js
ceaser_cipher.py
ceaser_cipher.py
dutch_national_flag.cpp
dutch_national_flag.cpp
dutch_national_flag.go
dutch_national_flag.go
dutch_national_flag.java
dutch_national_flag.java
dutch_national_flag.js
dutch_national_flag.js
dutch_national_flag.py
dutch_national_flag.py
find_no_of_good_pairs_in_array.java
find_no_of_good_pairs_in_array.java
find_three_largest_integers.js
find_three_largest_integers.js
find_three_largest_number.cpp
find_three_largest_number.cpp
find_three_largest_numbers.go
find_three_largest_numbers.go
find_three_largest_numbers.java
find_three_largest_numbers.java
find_three_largest_numbers.py
find_three_largest_numbers.py
first_duplicate_value.cpp
first_duplicate_value.cpp
first_duplicate_value.go
first_duplicate_value.go
first_duplicate_value.java
first_duplicate_value.java
first_duplicate_value.js
first_duplicate_value.js
first_duplicate_value.py
first_duplicate_value.py
four_sum.py
four_sum.py
insert_interval.cpp
insert_interval.cpp
insert_interval.go
insert_interval.go
insert_interval.java
insert_interval.java
insert_interval.js
insert_interval.js
insert_interval.py
insert_interval.py
insert_intervals.cpp
insert_intervals.cpp
insert_intervals.go
insert_intervals.go
is_monotonic.cpp
is_monotonic.cpp
is_monotonic.go
is_monotonic.go
is_monotonic.java
is_monotonic.java
is_monotonic.js
is_monotonic.js
is_monotonic.py
is_monotonic.py
longest_peak.cpp
longest_peak.cpp
longest_peak.go
longest_peak.go
longest_peak.java
longest_peak.java
longest_peak.js
longest_peak.js
longest_peak.py
longest_peak.py
majority_element.go
majority_element.go
majority_element.java
majority_element.java
maximum_subarray_sum.cpp
maximum_subarray_sum.cpp
maximum_subarray_sum.go
maximum_subarray_sum.go
maximum_subarray_sum.py
maximum_subarray_sum.py
merge_intervals.cpp
merge_intervals.cpp
merge_intervals.go
merge_intervals.go
merge_intervals.java
merge_intervals.java
merge_intervals.js
merge_intervals.js
merge_intervals.py
merge_intervals.py
merge_sorted_array.cpp
merge_sorted_array.cpp
merge_sorted_array.java
merge_sorted_array.java
merge_sorted_arrays.py
merge_sorted_arrays.py
minimum_size_subarray_sum.java
minimum_size_subarray_sum.java
move_element_to_end.cpp
move_element_to_end.cpp
move_element_to_end.go
move_element_to_end.go
move_element_to_end.java
move_element_to_end.java
move_element_to_end.js
move_element_to_end.js
move_element_to_end.py
move_element_to_end.py
pallindromic_permutations.cpp
pallindromic_permutations.cpp
shuffle_array.java
shuffle_array.java
sign_of_the_product_of_an_array.cpp
sign_of_the_product_of_an_array.cpp
smallest_difference.cpp
smallest_difference.cpp
smallest_difference.go
smallest_difference.go
smallest_difference.java
smallest_difference.java
smallest_difference.js
smallest_difference.js
smallest_difference.py
smallest_difference.py
sorted_square_array,js
sorted_square_array,js
sorted_square_array.cpp
sorted_square_array.cpp
sorted_square_array.go
sorted_square_array.go
sorted_square_array.java
sorted_square_array.java
sorted_square_array.py
sorted_square_array.py
string_halves.cpp
string_halves.cpp
subarray_with_given_sum_and_length.java
subarray_with_given_sum_and_length.java
three_largest_no.py
three_largest_no.py
total_hamming_distance.cpp
total_hamming_distance.cpp
tournament_winner.go
tournament_winner.go
triplet_sum.cpp
triplet_sum.cpp
triplet_sum.go
triplet_sum.go
triplet_sum.java
triplet_sum.java
triplet_sum.js
triplet_sum.js
triplet_sum.py
triplet_sum.py
urlify.go
urlify.go
View all files
You can’t perform that action at this time.