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 }}
anubhav811
DSA-Practice
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
DSA-Practice
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
2
(
2
)
You must be signed in to star a repository
About
DSA problems from LeetCode and GFG
Topics
coding
cpp
dsa
placement
Resources
Readme
Activity
Stars
2
stars
Watchers
1
watching
Forks
0
forks
Report repository
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
1,613 Commits
1,613 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.vscode
.vscode
0 - 1 Knapsack Problem - GFG
0 - 1 Knapsack Problem - GFG
0003-longest-substring-without-repeating-characters
0003-longest-substring-without-repeating-characters
0076-minimum-window-substring
0076-minimum-window-substring
0239-sliding-window-maximum
0239-sliding-window-maximum
0438-find-all-anagrams-in-a-string
0438-find-all-anagrams-in-a-string
0904-fruit-into-baskets
0904-fruit-into-baskets
1-two-sum
1-two-sum
100-same-tree
100-same-tree
101-symmetric-tree
101-symmetric-tree
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1048-longest-string-chain
1048-longest-string-chain
105-construct-binary-tree-from-preorder-and-inorder-traversal
105-construct-binary-tree-from-preorder-and-inorder-traversal
106-construct-binary-tree-from-inorder-and-postorder-traversal
106-construct-binary-tree-from-inorder-and-postorder-traversal
108-convert-sorted-array-to-binary-search-tree
108-convert-sorted-array-to-binary-search-tree
110-balanced-binary-tree
110-balanced-binary-tree
113-path-sum-ii
113-path-sum-ii
114-flatten-binary-tree-to-linked-list
114-flatten-binary-tree-to-linked-list
1146-snapshot-array
1146-snapshot-array
118-pascals-triangle
118-pascals-triangle
120-triangle
120-triangle
1200-minimum-absolute-difference
1200-minimum-absolute-difference
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
1220-count-vowels-permutation
1220-count-vowels-permutation
124-binary-tree-maximum-path-sum
124-binary-tree-maximum-path-sum
126-word-ladder-ii
126-word-ladder-ii
128-longest-consecutive-sequence
128-longest-consecutive-sequence
13-roman-to-integer
13-roman-to-integer
131-palindrome-partitioning
131-palindrome-partitioning
1328-break-a-palindrome
1328-break-a-palindrome
133-clone-graph
133-clone-graph
1338-reduce-array-size-to-the-half
1338-reduce-array-size-to-the-half
136-single-number
136-single-number
138-copy-list-with-random-pointer
138-copy-list-with-random-pointer
1383-maximum-performance-of-a-team
1383-maximum-performance-of-a-team
139-word-break
139-word-break
141-linked-list-cycle
141-linked-list-cycle
142-linked-list-cycle-ii
142-linked-list-cycle-ii
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
1448-count-good-nodes-in-binary-tree
1448-count-good-nodes-in-binary-tree
145-binary-tree-postorder-traversal
145-binary-tree-postorder-traversal
1457-pseudo-palindromic-paths-in-a-binary-tree
1457-pseudo-palindromic-paths-in-a-binary-tree
146-lru-cache
146-lru-cache
15-3sum
15-3sum
160-intersection-of-two-linked-lists
160-intersection-of-two-linked-lists
1658-minimum-operations-to-reduce-x-to-zero
1658-minimum-operations-to-reduce-x-to-zero
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
1680-concatenation-of-consecutive-binary-numbers
1680-concatenation-of-consecutive-binary-numbers
169-majority-element
169-majority-element
1695-maximum-erasure-value
1695-maximum-erasure-value
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
1770-maximum-score-from-performing-multiplication-operations
1770-maximum-score-from-performing-multiplication-operations
18-4sum
18-4sum
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
199-binary-tree-right-side-view
199-binary-tree-right-side-view
1996-the-number-of-weak-characters-in-the-game
1996-the-number-of-weak-characters-in-the-game
2-add-two-numbers
2-add-two-numbers
200-number-of-islands
200-number-of-islands
2007-find-original-array-from-doubled-array
2007-find-original-array-from-doubled-array
206-reverse-linked-list
206-reverse-linked-list
21-merge-two-sorted-lists
21-merge-two-sorted-lists
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
217-contains-duplicate
217-contains-duplicate
2193-minimum-number-of-moves-to-make-palindrome
2193-minimum-number-of-moves-to-make-palindrome
229-majority-element-ii
229-majority-element-ii
234-palindrome-linked-list
234-palindrome-linked-list
235-lowest-common-ancestor-of-a-binary-search-tree
235-lowest-common-ancestor-of-a-binary-search-tree
236-lowest-common-ancestor-of-a-binary-tree
236-lowest-common-ancestor-of-a-binary-tree
237-delete-node-in-a-linked-list
237-delete-node-in-a-linked-list
240-search-a-2d-matrix-ii
240-search-a-2d-matrix-ii
242-valid-anagram
242-valid-anagram
25-reverse-nodes-in-k-group
25-reverse-nodes-in-k-group
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
283-move-zeroes
283-move-zeroes
287-find-the-duplicate-number
287-find-the-duplicate-number
3-longest-substring-without-repeating-characters
3-longest-substring-without-repeating-characters
30-substring-with-concatenation-of-all-words
30-substring-with-concatenation-of-all-words
300-longest-increasing-subsequence
300-longest-increasing-subsequence
307-range-sum-query-mutable
307-range-sum-query-mutable
31-next-permutation
31-next-permutation
315-count-of-smaller-numbers-after-self
315-count-of-smaller-numbers-after-self
326-power-of-three
326-power-of-three
33-search-in-rotated-sorted-array
33-search-in-rotated-sorted-array
336-palindrome-pairs
336-palindrome-pairs
34-find-first-and-last-position-of-element-in-sorted-array
34-find-first-and-last-position-of-element-in-sorted-array
342-power-of-four
342-power-of-four
37-sudoku-solver
37-sudoku-solver
377-combination-sum-iv
377-combination-sum-iv
378-kth-smallest-element-in-a-sorted-matrix
378-kth-smallest-element-in-a-sorted-matrix
383-ransom-note
383-ransom-note
387-first-unique-character-in-a-string
387-first-unique-character-in-a-string
39-combination-sum
39-combination-sum
393-utf-8-validation
393-utf-8-validation
4-median-of-two-sorted-arrays
4-median-of-two-sorted-arrays
40-combination-sum-ii
40-combination-sum-ii
416-partition-equal-subset-sum
416-partition-equal-subset-sum
42-trapping-rain-water
42-trapping-rain-water
429-n-ary-tree-level-order-traversal
429-n-ary-tree-level-order-traversal
View all files
Repository files navigation
README
More
items
About
DSA problems from LeetCode and GFG
Topics
coding
cpp
dsa
placement
Resources
Readme
Activity
Stars
2
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.