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 }}
guptapriyanshu7
dsa
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
dsa
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
0
(
0
)
You must be signed in to star a repository
About
Data Structures and Algorithms
Topics
algorithms
coding
cpp
data-structures
leetcode
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
116 Commits
116 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.vscode
.vscode
dart
dart
js
js
leetcode
leetcode
python
python
.clang-format
.clang-format
.gitignore
.gitignore
B. Cobb.cpp
B. Cobb.cpp
Subarray with given XOR.cpp
Subarray with given XOR.cpp
a.out
a.out
acyclicity.cpp
acyclicity.cpp
add.cpp
add.cpp
add_distance.cpp
add_distance.cpp
add_friend_distance.cpp
add_friend_distance.cpp
alchemy.cpp
alchemy.cpp
assignment_problem_bitmask.cpp
assignment_problem_bitmask.cpp
atcoder.cpp
atcoder.cpp
basic-gates.c
basic-gates.c
bfs.cpp
bfs.cpp
bipartite.cpp
bipartite.cpp
blank.cpp
blank.cpp
boolean-parenthesization.cpp
boolean-parenthesization.cpp
boost.cpp
boost.cpp
bst.cpp
bst.cpp
c++ text.txt
c++ text.txt
ceil.cpp
ceil.cpp
classes.cpp
classes.cpp
co.cpp
co.cpp
coa.c
coa.c
codejam.cpp
codejam.cpp
conncmps.cpp
conncmps.cpp
constructor_overloading.cpp
constructor_overloading.cpp
count-station.cpp
count-station.cpp
cs-practice.cpp
cs-practice.cpp
daa.c
daa.c
dec22.cpp
dec22.cpp
default_assignment.cpp
default_assignment.cpp
dijkstra.cpp
dijkstra.cpp
dl_iterate_phdr.c
dl_iterate_phdr.c
effective modern c++.cpp
effective modern c++.cpp
exec.c
exec.c
exec2
exec2
exec2.c
exec2.c
fib_class.cpp
fib_class.cpp
fork.c
fork.c
friend.cpp
friend.cpp
friend_mean.cpp
friend_mean.cpp
friend_swap.cpp
friend_swap.cpp
full-adder.c
full-adder.c
gaming.cpp
gaming.cpp
graphs.cpp
graphs.cpp
half-adder.c
half-adder.c
hashing-chaining.cpp
hashing-chaining.cpp
hashing-open-addressing.cpp
hashing-open-addressing.cpp
hashing-trivial.cpp
hashing-trivial.cpp
header.cpp
header.cpp
header.hpp
header.hpp
header_main.cpp
header_main.cpp
huffman.cpp
huffman.cpp
icpcE.cpp
icpcE.cpp
inheritance-avg.cpp
inheritance-avg.cpp
inheritance-max.cpp
inheritance-max.cpp
inheritance.-avg.cpp
inheritance.-avg.cpp
inheritance.cpp
inheritance.cpp
input.txt
input.txt
knapsack-01.cpp
knapsack-01.cpp
knapsack-unbounded.cpp
knapsack-unbounded.cpp
knapsack.cpp
knapsack.cpp
lab.cpp
lab.cpp
lambdas..cpp
lambdas..cpp
liblibrary.so
liblibrary.so
liblibrarystat.a
liblibrarystat.a
library.cpp
library.cpp
library.hpp
library.hpp
library.o
library.o
librarystat.o
librarystat.o
linking.cpp
linking.cpp
longest_common_subsequence.cpp
longest_common_subsequence.cpp
main.cpp
main.cpp
matrix-mul.cpp
matrix-mul.cpp
matrix.cpp
matrix.cpp
max-range.cpp
max-range.cpp
memory-leaks.cpp
memory-leaks.cpp
merge-sort.cpp
merge-sort.cpp
minheri.cpp
minheri.cpp
multipleInheritance.cpp
multipleInheritance.cpp
n-queens.cpp
n-queens.cpp
negative_cycle.cpp
negative_cycle.cpp
oops_.cpp
oops_.cpp
oops_prime.cpp
oops_prime.cpp
oopsprime.cpp
oopsprime.cpp
operator-overloading.cpp
operator-overloading.cpp
output.txt
output.txt
parameter.cpp
parameter.cpp
power.cpp
power.cpp
pq.cpp
pq.cpp
r-l-values.cpp
r-l-values.cpp
raii.cpp
raii.cpp
re-cj.cpp
re-cj.cpp
reachability.cpp
reachability.cpp
View all files
About
Data Structures and Algorithms
Topics
algorithms
coding
cpp
data-structures
leetcode
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.