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 }}
imteekay
/
algorithms
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
81
Star
578
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
algorithms
/
competitive-programming
/
uri
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
algorithms
/
competitive-programming
/
uri
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
3d_virtual_museum.cpp
3d_virtual_museum.cpp
a_long_time_ago.cpp
a_long_time_ago.cpp
above_average.cpp
above_average.cpp
above_secundary_diagonal.cpp
above_secundary_diagonal.cpp
above_the_main_diagonal.cpp
above_the_main_diagonal.cpp
abracadabra.cpp
abracadabra.cpp
advancing_letters.cpp
advancing_letters.cpp
age_in_day.cpp
age_in_day.cpp
ages.cpp
ages.cpp
alarm_clock.cpp
alarm_clock.cpp
alliteration.cpp
alliteration.cpp
andys_first_dictionary.cpp
andys_first_dictionary.cpp
angry_ducks.cpp
angry_ducks.cpp
animal.cpp
animal.cpp
approximate_number_of_primes.cpp
approximate_number_of_primes.cpp
area.cpp
area.cpp
area_of_circle.cpp
area_of_circle.cpp
arranging_tasks.cpp
arranging_tasks.cpp
array_123.cpp
array_123.cpp
array_change_1.cpp
array_change_1.cpp
array_fill_1.cpp
array_fill_1.cpp
array_fill_2.cpp
array_fill_2.cpp
array_fill_3.cpp
array_fill_3.cpp
array_fill_4.cpp
array_fill_4.cpp
array_hash.cpp
array_hash.cpp
array_replacement_1.cpp
array_replacement_1.cpp
array_selection_1.cpp
array_selection_1.cpp
as_abas_de_pericles.cpp
as_abas_de_pericles.cpp
ascending_and_descending.cpp
ascending_and_descending.cpp
assigning_teams.cpp
assigning_teams.cpp
automated_checking_machine.cpp
automated_checking_machine.cpp
average_1.cpp
average_1.cpp
average_2.cpp
average_2.cpp
average_3.cpp
average_3.cpp
average_speed.cpp
average_speed.cpp
back_to_high_school_physics.cpp
back_to_high_school_physics.cpp
bacteria_1.cpp
bacteria_1.cpp
banknotes.cpp
banknotes.cpp
banknotes_and_coins.cpp
banknotes_and_coins.cpp
baskharas_formula.cpp
baskharas_formula.cpp
batmain.cpp
batmain.cpp
bazinga.cpp
bazinga.cpp
below_the_main_diagonal.cpp
below_the_main_diagonal.cpp
below_the_secundary_diagonal.cpp
below_the_secundary_diagonal.cpp
bill.cpp
bill.cpp
bingo.cpp
bingo.cpp
bla.cpp
bla.cpp
blobs.cpp
blobs.cpp
bloggo_shotcuts.cpp
bloggo_shotcuts.cpp
bob_conduit.cpp
bob_conduit.cpp
bodybuilder.cpp
bodybuilder.cpp
brazil_world_cup.cpp
brazil_world_cup.cpp
brazilian_economy.cpp
brazilian_economy.cpp
brick_game.cpp
brick_game.cpp
bubbles_and_bucket.cpp
bubbles_and_bucket.cpp
bubbles_and_bucket_2.cpp
bubbles_and_bucket_2.cpp
building_houses.cpp
building_houses.cpp
building_walls.cpp
building_walls.cpp
buttlerflies.cpp
buttlerflies.cpp
c_mais_ou_menos.cpp
c_mais_ou_menos.cpp
caeser_cipher.cpp
caeser_cipher.cpp
cannon.cpp
cannon.cpp
canteen_queue.cpp
canteen_queue.cpp
cash_roial.cpp
cash_roial.cpp
chinese_whispers.cpp
chinese_whispers.cpp
chirrin_chirrion.cpp
chirrin_chirrion.cpp
chocolate_factory.cpp
chocolate_factory.cpp
christmas_decoration.cpp
christmas_decoration.cpp
christmas_olympic.cpp
christmas_olympic.cpp
christmas_trapeziums.cpp
christmas_trapeziums.cpp
christmas_tree.cpp
christmas_tree.cpp
close_the_doors.cpp
close_the_doors.cpp
coast_guard.cpp
coast_guard.cpp
coffee_machine.cpp
coffee_machine.cpp
colision.cpp
colision.cpp
collectable_cards.cpp
collectable_cards.cpp
colourful_flowers.cpp
colourful_flowers.cpp
column_in_array.cpp
column_in_array.cpp
combiner.cpp
combiner.cpp
compare_substring.cpp
compare_substring.cpp
complete_sequence.cpp
complete_sequence.cpp
consumption.cpp
consumption.cpp
contando_ciclos.cpp
contando_ciclos.cpp
contest.cpp
contest.cpp
contract_revision.cpp
contract_revision.cpp
converting_to_hexadecimal.cpp
converting_to_hexadecimal.cpp
coordinates_of_a_point.cpp
coordinates_of_a_point.cpp
correct_colourful_flower.cpp
correct_colourful_flower.cpp
corrida.cpp
corrida.cpp
counting_crow.cpp
counting_crow.cpp
counting_sheeps.cpp
counting_sheeps.cpp
cutoff_rounder.cpp
cutoff_rounder.cpp
cutoff_rounder_2.cpp
cutoff_rounder_2.cpp
dancing_sentence.cpp
dancing_sentence.cpp
dangerous_dive.cpp
dangerous_dive.cpp
dating_online.cpp
dating_online.cpp
deciphering_the_encrypted_card.cpp
deciphering_the_encrypted_card.cpp
delaunay_triangulation.cpp
delaunay_triangulation.cpp
desafio_de_bino.cpp
desafio_de_bino.cpp
detective_watson_1.cpp
detective_watson_1.cpp
View all files
You can’t perform that action at this time.