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 }}
DRJ-YDV
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
No description, website, or topics provided.
Activity
Stars
0
stars
Watchers
0
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
461 Commits
461 Commits
Folders and files
Name
Name
Last commit message
Last commit date
100-same-tree
100-same-tree
101-symmetric-tree
101-symmetric-tree
1018-largest-perimeter-triangle
1018-largest-perimeter-triangle
1019-squares-of-a-sorted-array
1019-squares-of-a-sorted-array
103-binary-tree-zigzag-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
1036-rotting-oranges
1036-rotting-oranges
1078-remove-outermost-parentheses
1078-remove-outermost-parentheses
1079-sum-of-root-to-leaf-binary-numbers
1079-sum-of-root-to-leaf-binary-numbers
110-balanced-binary-tree
110-balanced-binary-tree
1139-previous-permutation-with-one-swap
1139-previous-permutation-with-one-swap
1168-duplicate-zeros
1168-duplicate-zeros
1208-maximum-nesting-depth-of-two-valid-parentheses-strings
1208-maximum-nesting-depth-of-two-valid-parentheses-strings
128-longest-consecutive-sequence
128-longest-consecutive-sequence
1285-balance-a-binary-search-tree
1285-balance-a-binary-search-tree
1298-reverse-substrings-between-each-pair-of-parentheses
1298-reverse-substrings-between-each-pair-of-parentheses
136-single-number
136-single-number
14-longest-common-prefix
14-longest-common-prefix
1443-minimum-distance-to-type-a-word-using-two-fingers
1443-minimum-distance-to-type-a-word-using-two-fingers
1458-sort-integers-by-the-number-of-1-bits
1458-sort-integers-by-the-number-of-1-bits
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1520-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1520-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1557-check-if-a-string-contains-all-binary-codes-of-size-k
1557-check-if-a-string-contains-all-binary-codes-of-size-k
1573-find-two-non-overlapping-sub-arrays-each-with-target-sum
1573-find-two-non-overlapping-sub-arrays-each-with-target-sum
1603-running-sum-of-1d-array
1603-running-sum-of-1d-array
1648-minimum-insertions-to-balance-a-parentheses-string
1648-minimum-insertions-to-balance-a-parentheses-string
165-compare-version-numbers
165-compare-version-numbers
1658-minimum-swaps-to-arrange-a-binary-grid
1658-minimum-swaps-to-arrange-a-binary-grid
1667-find-kth-bit-in-nth-binary-string
1667-find-kth-bit-in-nth-binary-string
169-majority-element
169-majority-element
171-excel-sheet-column-number
171-excel-sheet-column-number
1716-maximum-non-negative-product-in-a-matrix
1716-maximum-non-negative-product-in-a-matrix
1728-fancy-sequence
1728-fancy-sequence
1737-maximum-nesting-depth-of-the-parentheses
1737-maximum-nesting-depth-of-the-parentheses
1756-minimum-deletions-to-make-string-balanced
1756-minimum-deletions-to-make-string-balanced
1800-concatenation-of-consecutive-binary-numbers
1800-concatenation-of-consecutive-binary-numbers
1840-minimize-hamming-distance-after-swap-operations
1840-minimize-hamming-distance-after-swap-operations
1845-largest-submatrix-with-rearrangements
1845-largest-submatrix-with-rearrangements
189-rotate-array
189-rotate-array
190-reverse-bits
190-reverse-bits
191-number-of-1-bits
191-number-of-1-bits
1975-minimum-distance-to-the-target-element
1975-minimum-distance-to-the-target-element
1984-maximum-distance-between-a-pair-of-values
1984-maximum-distance-between-a-pair-of-values
1990-get-biggest-three-rhombus-sums-in-a-grid
1990-get-biggest-three-rhombus-sums-in-a-grid
20-valid-parentheses
20-valid-parentheses
2015-determine-whether-matrix-can-be-obtained-by-rotation
2015-determine-whether-matrix-can-be-obtained-by-rotation
204-count-primes
204-count-primes
208-implement-trie-prefix-tree
208-implement-trie-prefix-tree
215-kth-largest-element-in-an-array
215-kth-largest-element-in-an-array
2197-decode-the-slanted-ciphertext
2197-decode-the-slanted-ciphertext
2199-two-furthest-houses-with-different-colors
2199-two-furthest-houses-with-different-colors
2210-find-target-indices-after-sorting-array
2210-find-target-indices-after-sorting-array
23-merge-k-sorted-lists
23-merge-k-sorted-lists
2347-count-nodes-equal-to-average-of-subtree
2347-count-nodes-equal-to-average-of-subtree
2550-words-within-two-edits-of-dictionary
2550-words-within-two-edits-of-dictionary
2554-minimum-total-distance-traveled
2554-minimum-total-distance-traveled
268-missing-number
268-missing-number
2708-find-the-string-with-lcp
2708-find-the-string-with-lcp
2721-sum-of-distances
2721-sum-of-distances
2737-row-with-maximum-ones
2737-row-with-maximum-ones
283-move-zeroes
283-move-zeroes
2844-sum-of-squares-of-special-elements
2844-sum-of-squares-of-special-elements
290-word-pattern
290-word-pattern
2978-check-if-strings-can-be-made-equal-with-operations-ii
2978-check-if-strings-can-be-made-equal-with-operations-ii
2999-check-if-strings-can-be-made-equal-with-operations-i
2999-check-if-strings-can-be-made-equal-with-operations-i
301-remove-invalid-parentheses
301-remove-invalid-parentheses
3031-construct-product-matrix
3031-construct-product-matrix
31-next-permutation
31-next-permutation
3163-subarrays-distinct-element-sum-of-squares-i
3163-subarrays-distinct-element-sum-of-squares-i
32-longest-valid-parentheses
32-longest-valid-parentheses
3215-matrix-similarity-after-cyclic-shifts
3215-matrix-similarity-after-cyclic-shifts
326-power-of-three
326-power-of-three
3338-count-submatrices-with-top-left-element-and-sum-less-than-k
3338-count-submatrices-with-top-left-element-and-sum-less-than-k
3347-distribute-elements-into-two-arrays-i
3347-distribute-elements-into-two-arrays-i
342-power-of-four
342-power-of-four
345-reverse-vowels-of-a-string
345-reverse-vowels-of-a-string
347-top-k-frequent-elements
347-top-k-frequent-elements
3496-minimum-number-of-seconds-to-make-mountain-height-zero
3496-minimum-number-of-seconds-to-make-mountain-height-zero
3626-smallest-divisible-digit-product-i
3626-smallest-divisible-digit-product-i
3651-transformed-array
3651-transformed-array
3677-maximum-amount-of-money-robot-can-earn
3677-maximum-amount-of-money-robot-can-earn
37-sudoku-solver
37-sudoku-solver
3750-closest-equal-element-queries
3750-closest-equal-element-queries
3770-lexicographically-smallest-generated-string
3770-lexicographically-smallest-generated-string
3799-unique-3-digit-even-numbers
3799-unique-3-digit-even-numbers
3847-minimum-swaps-to-sort-by-digit-sum
3847-minimum-swaps-to-sort-by-digit-sum
3849-equal-sum-grid-partition-i
3849-equal-sum-grid-partition-i
3850-equal-sum-grid-partition-ii
3850-equal-sum-grid-partition-ii
3902-maximize-spanning-tree-stability-with-upgrades
3902-maximize-spanning-tree-stability-with-upgrades
392-is-subsequence
392-is-subsequence
3952-trionic-array-i
3952-trionic-array-i
3956-trionic-array-ii
3956-trionic-array-ii
3973-flip-square-submatrix-vertically
3973-flip-square-submatrix-vertically
3974-xor-after-range-multiplication-queries-i
3974-xor-after-range-multiplication-queries-i
3982-maximum-walls-destroyed-by-robots
3982-maximum-walls-destroyed-by-robots
401-binary-watch
401-binary-watch
4045-longest-balanced-subarray-i
4045-longest-balanced-subarray-i
4047-longest-balanced-subarray-ii
4047-longest-balanced-subarray-ii
4055-longest-balanced-substring-i
4055-longest-balanced-substring-i
4078-maximum-alternating-sum-of-squares
4078-maximum-alternating-sum-of-squares
4107-find-missing-elements
4107-find-missing-elements
View all files
About
No description, website, or topics provided.
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.