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
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 }}
RITCHIEsingh
/
cses
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
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
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
4 Commits
4 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.cph
.cph
.vscode
.vscode
2knights.cpp
2knights.cpp
2sum.cpp
2sum.cpp
advertisement.cpp
advertisement.cpp
apartments.cpp
apartments.cpp
apple_division.cpp
apple_division.cpp
applediv.cpp
applediv.cpp
array_division.cpp
array_division.cpp
bitstrings.cpp
bitstrings.cpp
building_roads.cpp
building_roads.cpp
building_teams.cpp
building_teams.cpp
coinpiles.cpp
coinpiles.cpp
collecting_numbers.cpp
collecting_numbers.cpp
collecting_numbers2.cpp
collecting_numbers2.cpp
company_queries1.cpp
company_queries1.cpp
company_queries2.cpp
company_queries2.cpp
concerttickets.cpp
concerttickets.cpp
counting_divisors.cpp
counting_divisors.cpp
counting_numbers.cpp
counting_numbers.cpp
counting_rooms.cpp
counting_rooms.cpp
course_schedule.cpp
course_schedule.cpp
creatingstrings.cpp
creatingstrings.cpp
cycle_finding.cpp
cycle_finding.cpp
de_brujin_sequence.cpp
de_brujin_sequence.cpp
distance_queries.cpp
distance_queries.cpp
distinct_values_que.cpp
distinct_values_que.cpp
distinct_values_subarray2.cpp
distinct_values_subarray2.cpp
distinct_values_subarrays.cpp
distinct_values_subarrays.cpp
distinct_values_subsequences.cpp
distinct_values_subsequences.cpp
dynamic_range_min_q.cpp
dynamic_range_min_q.cpp
dynamic_range_sum_q.cpp
dynamic_range_sum_q.cpp
factory_machines.cpp
factory_machines.cpp
ferriswheel.cpp
ferriswheel.cpp
finding_borders.cpp
finding_borders.cpp
finding_periods.cpp
finding_periods.cpp
flight_discount.cpp
flight_discount.cpp
flight_routes.cpp
flight_routes.cpp
flight_routes_check.cpp
flight_routes_check.cpp
game_routes.cpp
game_routes.cpp
graycode.cpp
graycode.cpp
high_score.cpp
high_score.cpp
hotel_queries.cpp
hotel_queries.cpp
increasing_array.cpp
increasing_array.cpp
investigation.cpp
investigation.cpp
josephus1.cpp
josephus1.cpp
josephus2.cpp
josephus2.cpp
labyrinth.cpp
labyrinth.cpp
list_removals.cpp
list_removals.cpp
longest_flight_route.cpp
longest_flight_route.cpp
max_subarray_sum2.cpp
max_subarray_sum2.cpp
max_subarray_sums.cpp
max_subarray_sums.cpp
meet_in_the_middle.cpp
meet_in_the_middle.cpp
message_routes.cpp
message_routes.cpp
mex_grid_construction.cpp
mex_grid_construction.cpp
missing_number.cpp
missing_number.cpp
missingcoinsum.cpp
missingcoinsum.cpp
monsters.cpp
monsters.cpp
movie_festival2.cpp
movie_festival2.cpp
multiplication_table.cpp
multiplication_table.cpp
nested_ranges.cpp
nested_ranges.cpp
nested_ranges_count.cpp
nested_ranges_count.cpp
next_smaller_element.cpp
next_smaller_element.cpp
number_spiral.cpp
number_spiral.cpp
palindromereorder.cpp
palindromereorder.cpp
permutations.cpp
permutations.cpp
pizzeria_q.cpp
pizzeria_q.cpp
planet_cycles.cpp
planet_cycles.cpp
planet_queries1.cpp
planet_queries1.cpp
planet_queries1.exe
planet_queries1.exe
planets_and_kingdoms.cpp
planets_and_kingdoms.cpp
playlist.cpp
playlist.cpp
pref_sum_q.cpp
pref_sum_q.cpp
raabgame1.cpp
raabgame1.cpp
range_interval_queries.cpp
range_interval_queries.cpp
range_upd_queries.cpp
range_upd_queries.cpp
reading_books.cpp
reading_books.cpp
repetitions.cpp
repetitions.cpp
restaurant_customer.cpp
restaurant_customer.cpp
road_construction.cpp
road_construction.cpp
road_prep.cpp
road_prep.cpp
road_trp.cpp
road_trp.cpp
room_allocation.cpp
room_allocation.cpp
roundtrip2.cpp
roundtrip2.cpp
rq1.cpp
rq1.cpp
rq5.cpp
rq5.cpp
rq7.cpp
rq7.cpp
salary_queries.cpp
salary_queries.cpp
shortest_routes1.cpp
shortest_routes1.cpp
shortest_routes2.cpp
shortest_routes2.cpp
sliding_window_adver.cpp
sliding_window_adver.cpp
sliding_window_advertisement.cpp
sliding_window_advertisement.cpp
sliding_window_inversions.cpp
sliding_window_inversions.cpp
slidingwindowsum.cpp
slidingwindowsum.cpp
static_range_min_q.cpp
static_range_min_q.cpp
stick_lengths.cpp
stick_lengths.cpp
string_matching.cpp
string_matching.cpp
subarray_divisibility.cpp
subarray_divisibility.cpp
subarray_sum_queries.cpp
subarray_sum_queries.cpp
subarray_sum_queries2.cpp
subarray_sum_queries2.cpp
View all files
About
solutions to all cses problems
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.