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 }}
Bethegnt
Code-and-DSA
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Code-and-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
Dsa-problem-solving
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
372 Commits
372 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0061-rotate-list
0061-rotate-list
1-two-sum
1-two-sum
10-regular-expression-matching
10-regular-expression-matching
1013-fibonacci-number
1013-fibonacci-number
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
11-container-with-most-water
11-container-with-most-water
112-path-sum
112-path-sum
113-path-sum-ii
113-path-sum-ii
118-pascals-triangle
118-pascals-triangle
119-pascals-triangle-ii
119-pascals-triangle-ii
12-integer-to-roman
12-integer-to-roman
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
125-valid-palindrome
125-valid-palindrome
128-longest-consecutive-sequence
128-longest-consecutive-sequence
13-roman-to-integer
13-roman-to-integer
134-gas-station
134-gas-station
14-longest-common-prefix
14-longest-common-prefix
141-linked-list-cycle
141-linked-list-cycle
1447-jump-game-iv
1447-jump-game-iv
1466-jump-game-v
1466-jump-game-v
147-insertion-sort-list
147-insertion-sort-list
148-sort-list
148-sort-list
15-3sum
15-3sum
151-reverse-words-in-a-string
151-reverse-words-in-a-string
153-find-minimum-in-rotated-sorted-array
153-find-minimum-in-rotated-sorted-array
154-find-minimum-in-rotated-sorted-array-ii
154-find-minimum-in-rotated-sorted-array-ii
16-3sum-closest
16-3sum-closest
164-maximum-gap
164-maximum-gap
169-majority-element
169-majority-element
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
1784-minimum-initial-energy-to-finish-tasks
1784-minimum-initial-energy-to-finish-tasks
1793-minimum-moves-to-make-array-complementary
1793-minimum-moves-to-make-array-complementary
18-4sum
18-4sum
1878-check-if-array-is-sorted-and-rotated
1878-check-if-array-is-sorted-and-rotated
19-remove-nth-node-from-end-of-list
19-remove-nth-node-from-end-of-list
191-number-of-1-bits
191-number-of-1-bits
1972-rotating-the-box
1972-rotating-the-box
20-valid-parentheses
20-valid-parentheses
2001-jump-game-vii
2001-jump-game-vii
202-happy-number
202-happy-number
206-reverse-linked-list
206-reverse-linked-list
21-merge-two-sorted-lists
21-merge-two-sorted-lists
217-contains-duplicate
217-contains-duplicate
219-contains-duplicate-ii
219-contains-duplicate-ii
22-generate-parentheses
22-generate-parentheses
222-count-complete-tree-nodes
222-count-complete-tree-nodes
2245-destroying-asteroids
2245-destroying-asteroids
2248-minimum-cost-of-buying-candies-with-discount
2248-minimum-cost-of-buying-candies-with-discount
2271-rearrange-array-elements-by-sign
2271-rearrange-array-elements-by-sign
2290-removing-minimum-number-of-magic-beans
2290-removing-minimum-number-of-magic-beans
2298-count-integers-with-even-digit-sum
2298-count-integers-with-even-digit-sum
23-merge-k-sorted-lists
23-merge-k-sorted-lists
2306-create-binary-tree-from-descriptions
2306-create-binary-tree-from-descriptions
231-power-of-two
231-power-of-two
238-product-of-array-except-self
238-product-of-array-except-self
24-swap-nodes-in-pairs
24-swap-nodes-in-pairs
242-valid-anagram
242-valid-anagram
25-reverse-nodes-in-k-group
25-reverse-nodes-in-k-group
257-binary-tree-paths
257-binary-tree-paths
26-remove-duplicates-from-sorted-array
26-remove-duplicates-from-sorted-array
2634-minimum-common-value
2634-minimum-common-value
2639-separate-the-digits-in-an-array
2639-separate-the-digits-in-an-array
268-missing-number
268-missing-number
27-remove-element
27-remove-element
2766-find-the-prefix-common-array-of-two-arrays
2766-find-the-prefix-common-array-of-two-arrays
28-find-the-index-of-the-first-occurrence-in-a-string
28-find-the-index-of-the-first-occurrence-in-a-string
2892-check-if-array-is-good
2892-check-if-array-is-good
29-divide-two-integers
29-divide-two-integers
290-word-pattern
290-word-pattern
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
31-next-permutation
31-next-permutation
32-longest-valid-parentheses
32-longest-valid-parentheses
324-wiggle-sort-ii
324-wiggle-sort-ii
326-power-of-three
326-power-of-three
33-search-in-rotated-sorted-array
33-search-in-rotated-sorted-array
3376-longest-common-suffix-queries
3376-longest-common-suffix-queries
34-find-first-and-last-position-of-element-in-sorted-array
34-find-first-and-last-position-of-element-in-sorted-array
3405-count-the-number-of-special-characters-ii
3405-count-the-number-of-special-characters-ii
3408-count-the-number-of-special-characters-i
3408-count-the-number-of-special-characters-i
342-power-of-four
342-power-of-four
3435-block-placement-queries
3435-block-placement-queries
344-reverse-string
344-reverse-string
347-top-k-frequent-elements
347-top-k-frequent-elements
349-intersection-of-two-arrays
349-intersection-of-two-arrays
35-search-insert-position
35-search-insert-position
350-intersection-of-two-arrays-ii
350-intersection-of-two-arrays-ii
36-valid-sudoku
36-valid-sudoku
3606-minimum-element-after-replacement-with-digit-sum
3606-minimum-element-after-replacement-with-digit-sum
37-sudoku-solver
37-sudoku-solver
389-find-the-difference
389-find-the-difference
39-combination-sum
39-combination-sum
3965-earliest-finish-time-for-land-and-water-rides-i
3965-earliest-finish-time-for-land-and-water-rides-i
4-median-of-two-sorted-arrays
4-median-of-two-sorted-arrays
40-combination-sum-ii
40-combination-sum-ii
4005-maximum-total-subarray-value-i
4005-maximum-total-subarray-value-i
4057-total-waviness-of-numbers-in-range-i
4057-total-waviness-of-numbers-in-range-i
409-longest-palindrome
409-longest-palindrome
41-first-missing-positive
41-first-missing-positive
414-third-maximum-number
414-third-maximum-number
View all files
About
Dsa-problem-solving
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.