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
Type
/
to 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 }}
mr-vicky
/
LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
main
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
1,132 Commits
1,132 Commits
0001-two-sum
0001-two-sum
0002-add-two-numbers
0002-add-two-numbers
0004-median-of-two-sorted-arrays
0004-median-of-two-sorted-arrays
0007-reverse-integer
0007-reverse-integer
0009-palindrome-number
0009-palindrome-number
0012-integer-to-roman
0012-integer-to-roman
0013-roman-to-integer
0013-roman-to-integer
0015-3sum
0015-3sum
0018-4sum
0018-4sum
0020-valid-parentheses
0020-valid-parentheses
0021-merge-two-sorted-lists
0021-merge-two-sorted-lists
0024-swap-nodes-in-pairs
0024-swap-nodes-in-pairs
0026-remove-duplicates-from-sorted-array
0026-remove-duplicates-from-sorted-array
0027-remove-element
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0028-find-the-index-of-the-first-occurrence-in-a-string
0033-search-in-rotated-sorted-array
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0035-search-insert-position
0048-rotate-image
0048-rotate-image
0053-maximum-subarray
0053-maximum-subarray
0054-spiral-matrix
0054-spiral-matrix
0055-jump-game
0055-jump-game
0058-length-of-last-word
0058-length-of-last-word
0061-rotate-list
0061-rotate-list
0066-plus-one
0066-plus-one
0069-sqrtx
0069-sqrtx
0070-climbing-stairs
0070-climbing-stairs
0073-set-matrix-zeroes
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0074-search-a-2d-matrix
0075-sort-colors
0075-sort-colors
0080-remove-duplicates-from-sorted-array-ii
0080-remove-duplicates-from-sorted-array-ii
0082-remove-duplicates-from-sorted-list-ii
0082-remove-duplicates-from-sorted-list-ii
0083-remove-duplicates-from-sorted-list
0083-remove-duplicates-from-sorted-list
0088-merge-sorted-array
0088-merge-sorted-array
0092-reverse-linked-list-ii
0092-reverse-linked-list-ii
0118-pascals-triangle
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0122-best-time-to-buy-and-sell-stock-ii
0125-valid-palindrome
0125-valid-palindrome
0128-longest-consecutive-sequence
0128-longest-consecutive-sequence
0136-single-number
0136-single-number
0137-single-number-ii
0137-single-number-ii
0141-linked-list-cycle
0141-linked-list-cycle
0148-sort-list
0148-sort-list
0162-find-peak-element
0162-find-peak-element
0167-two-sum-ii-input-array-is-sorted
0167-two-sum-ii-input-array-is-sorted
0169-majority-element
0169-majority-element
0189-rotate-array
0189-rotate-array
0206-reverse-linked-list
0206-reverse-linked-list
0215-kth-largest-element-in-an-array
0215-kth-largest-element-in-an-array
0217-contains-duplicate
0217-contains-duplicate
0219-contains-duplicate-ii
0219-contains-duplicate-ii
0228-summary-ranges
0228-summary-ranges
0229-majority-element-ii
0229-majority-element-ii
0234-palindrome-linked-list
0234-palindrome-linked-list
0237-delete-node-in-a-linked-list
0237-delete-node-in-a-linked-list
0238-product-of-array-except-self
0238-product-of-array-except-self
0240-search-a-2d-matrix-ii
0240-search-a-2d-matrix-ii
0242-valid-anagram
0242-valid-anagram
0258-add-digits
0258-add-digits
0260-single-number-iii
0260-single-number-iii
0263-ugly-number
0263-ugly-number
0268-missing-number
0268-missing-number
0278-first-bad-version
0278-first-bad-version
0283-move-zeroes
0283-move-zeroes
0287-find-the-duplicate-number
0287-find-the-duplicate-number
0292-nim-game
0292-nim-game
0328-odd-even-linked-list
0328-odd-even-linked-list
0342-power-of-four
0342-power-of-four
0344-reverse-string
0344-reverse-string
0345-reverse-vowels-of-a-string
0345-reverse-vowels-of-a-string
0347-top-k-frequent-elements
0347-top-k-frequent-elements
0349-intersection-of-two-arrays
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0350-intersection-of-two-arrays-ii
0367-valid-perfect-square
0367-valid-perfect-square
0383-ransom-note
0383-ransom-note
0387-first-unique-character-in-a-string
0387-first-unique-character-in-a-string
0389-find-the-difference
0389-find-the-difference
0392-is-subsequence
0392-is-subsequence
0412-fizz-buzz
0412-fizz-buzz
0414-third-maximum-number
0414-third-maximum-number
0441-arranging-coins
0441-arranging-coins
0442-find-all-duplicates-in-an-array
0442-find-all-duplicates-in-an-array
0443-string-compression
0443-string-compression
0448-find-all-numbers-disappeared-in-an-array
0448-find-all-numbers-disappeared-in-an-array
0485-max-consecutive-ones
0485-max-consecutive-ones
0507-perfect-number
0507-perfect-number
0520-detect-capital
0520-detect-capital
0540-single-element-in-a-sorted-array
0540-single-element-in-a-sorted-array
0551-student-attendance-record-i
0551-student-attendance-record-i
0557-reverse-words-in-a-string-iii
0557-reverse-words-in-a-string-iii
0560-subarray-sum-equals-k
0560-subarray-sum-equals-k
0561-array-partition
0561-array-partition
0575-distribute-candies
0575-distribute-candies
0605-can-place-flowers
0605-can-place-flowers
0628-maximum-product-of-three-numbers
0628-maximum-product-of-three-numbers
0657-robot-return-to-origin
0657-robot-return-to-origin
0692-top-k-frequent-words
0692-top-k-frequent-words
0704-binary-search
0704-binary-search
0706-design-hashmap
0706-design-hashmap
View all files
Repository files navigation
README
More
items
LeetCode
About
All the questions that solved on Leetcode...
www.leetcode.com/Mr_Vicky
Topics
algorithms
cpp
data-structures
dsa-cpp
dsa-practice
interview-preparation
leetcode
leetcode-practice
practice-programming
problem-solving
Resources
Readme
Activity
Stars
2
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.