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 }}
pavansai1
/
Data-Structures-and-Algorithms
Public
forked from
Sai-Adarsh/data-structures-and-algorithms
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
1,692 Commits
1,692 Commits
Folders and files
Name
Name
Last commit message
Last commit date
01-matrix
01-matrix
1-bit-and-2-bit-characters
1-bit-and-2-bit-characters
132-pattern
132-pattern
3sum-closest
3sum-closest
3sum
3sum
4sum-ii
4sum-ii
4sum
4sum
CPP
CPP
Sorting
Sorting
add-minimum-number-of-rungs
add-minimum-number-of-rungs
add-two-numbers
add-two-numbers
adding-two-negabinary-numbers
adding-two-negabinary-numbers
additive-number
additive-number
advantage-shuffle
advantage-shuffle
all-elements-in-two-binary-search-trees
all-elements-in-two-binary-search-trees
all-nodes-distance-k-in-binary-tree
all-nodes-distance-k-in-binary-tree
all-oone-data-structure
all-oone-data-structure
all-paths-from-source-to-target
all-paths-from-source-to-target
angle-between-hands-of-a-clock
angle-between-hands-of-a-clock
arithmetic-slices-ii-subsequence
arithmetic-slices-ii-subsequence
arithmetic-slices
arithmetic-slices
array-nesting
array-nesting
array-of-doubled-pairs
array-of-doubled-pairs
array-partition-i
array-partition-i
assign-cookies
assign-cookies
asteroid-collision
asteroid-collision
average-of-levels-in-binary-tree
average-of-levels-in-binary-tree
average-salary-excluding-the-minimum-and-maximum-salary
average-salary-excluding-the-minimum-and-maximum-salary
average-waiting-time
average-waiting-time
backspace-string-compare
backspace-string-compare
bag-of-tokens
bag-of-tokens
balanced-binary-tree
balanced-binary-tree
basic-calculator-ii
basic-calculator-ii
basic-calculator
basic-calculator
battleships-in-a-board
battleships-in-a-board
beautiful-arrangement
beautiful-arrangement
best-sightseeing-pair
best-sightseeing-pair
best-team-with-no-conflicts
best-team-with-no-conflicts
best-time-to-buy-and-sell-stock-ii
best-time-to-buy-and-sell-stock-ii
best-time-to-buy-and-sell-stock-with-cooldown
best-time-to-buy-and-sell-stock-with-cooldown
best-time-to-buy-and-sell-stock-with-transaction-fee
best-time-to-buy-and-sell-stock-with-transaction-fee
best-time-to-buy-and-sell-stock
best-time-to-buy-and-sell-stock
binary-number-with-alternating-bits
binary-number-with-alternating-bits
binary-search-tree-iterator
binary-search-tree-iterator
binary-search-tree-to-greater-sum-tree
binary-search-tree-to-greater-sum-tree
binary-search
binary-search
binary-tree-inorder-traversal
binary-tree-inorder-traversal
binary-tree-level-order-traversal-ii
binary-tree-level-order-traversal-ii
binary-tree-level-order-traversal
binary-tree-level-order-traversal
binary-tree-maximum-path-sum
binary-tree-maximum-path-sum
binary-tree-postorder-traversal
binary-tree-postorder-traversal
binary-tree-preorder-traversal
binary-tree-preorder-traversal
binary-tree-pruning
binary-tree-pruning
binary-tree-right-side-view
binary-tree-right-side-view
binary-tree-zigzag-level-order-traversal
binary-tree-zigzag-level-order-traversal
boats-to-save-people
boats-to-save-people
broken-calculator
broken-calculator
buddy-strings
buddy-strings
build-array-from-permutation
build-array-from-permutation
bulb-switcher
bulb-switcher
can-make-palindrome-from-substring
can-make-palindrome-from-substring
can-place-flowers
can-place-flowers
candy
candy
car-pooling
car-pooling
check-completeness-of-a-binary-tree
check-completeness-of-a-binary-tree
check-if-a-string-can-break-another-string
check-if-a-string-can-break-another-string
check-if-array-is-sorted-and-rotated
check-if-array-is-sorted-and-rotated
check-if-it-is-a-straight-line
check-if-it-is-a-straight-line
check-if-two-string-arrays-are-equivalent
check-if-two-string-arrays-are-equivalent
check-if-word-is-valid-after-substitutions
check-if-word-is-valid-after-substitutions
cinema-seat-allocation
cinema-seat-allocation
climbing-stairs
climbing-stairs
clone-graph
clone-graph
closest-dessert-cost
closest-dessert-cost
closest-divisors
closest-divisors
coin-change-2
coin-change-2
coin-change
coin-change
combination-sum-ii
combination-sum-ii
combination-sum-iii
combination-sum-iii
combination-sum-iv
combination-sum-iv
combination-sum
combination-sum
combinations
combinations
compare-strings-by-frequency-of-the-smallest-character
compare-strings-by-frequency-of-the-smallest-character
compare-version-numbers
compare-version-numbers
concatenation-of-consecutive-binary-numbers
concatenation-of-consecutive-binary-numbers
consecutive-numbers
consecutive-numbers
construct-binary-search-tree-from-preorder-traversal
construct-binary-search-tree-from-preorder-traversal
construct-binary-tree-from-inorder-and-postorder-traversal
construct-binary-tree-from-inorder-and-postorder-traversal
construct-binary-tree-from-preorder-and-inorder-traversal
construct-binary-tree-from-preorder-and-inorder-traversal
construct-k-palindrome-strings
construct-k-palindrome-strings
container-with-most-water
container-with-most-water
contains-duplicate-iii
contains-duplicate-iii
contains-duplicate
contains-duplicate
contiguous-array
contiguous-array
continuous-subarray-sum
continuous-subarray-sum
convert-bst-to-greater-tree
convert-bst-to-greater-tree
convert-sorted-array-to-binary-search-tree
convert-sorted-array-to-binary-search-tree
convert-to-base-2
convert-to-base-2
copy-list-with-random-pointer
copy-list-with-random-pointer
count-good-meals
count-good-meals
View all files
Repository files navigation
README
More
items
Data Structures and Algorithms
Collection of LeetCode questions to ace the coding interview!
About
Data-Structures-and-Algorithms
Resources
Readme
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.