Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
realvidhaan
leetcode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
1
(
1
)
You must be signed in to star a repository
About
My LeetCode solutions
leetcode.com/u/Vidhaan_J/
Resources
Readme
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
139 Commits
139 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0007-reverse-integer
0007-reverse-integer
0013-roman-to-integer
0013-roman-to-integer
0034-find-first-and-last-position-of-element-in-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0046-permutations
0046-permutations
0058-length-of-last-word
0058-length-of-last-word
0066-plus-one
0066-plus-one
0067-add-binary
0067-add-binary
0081-search-in-rotated-sorted-array-ii
0081-search-in-rotated-sorted-array-ii
0088-merge-sorted-array
0088-merge-sorted-array
0118-pascals-triangle
0118-pascals-triangle
0137-single-number-ii
0137-single-number-ii
0169-majority-element
0169-majority-element
0231-power-of-two
0231-power-of-two
0240-search-a-2d-matrix-ii
0240-search-a-2d-matrix-ii
0260-single-number-iii
0260-single-number-iii
0268-missing-number
0268-missing-number
0326-power-of-three
0326-power-of-three
0342-power-of-four
0342-power-of-four
0383-ransom-note
0383-ransom-note
0389-find-the-difference
0389-find-the-difference
0392-is-subsequence
0392-is-subsequence
0434-number-of-segments-in-a-string
0434-number-of-segments-in-a-string
0461-hamming-distance
0461-hamming-distance
0535-encode-and-decode-tinyurl
0535-encode-and-decode-tinyurl
0540-single-element-in-a-sorted-array
0540-single-element-in-a-sorted-array
0575-distribute-candies
0575-distribute-candies
0709-to-lower-case
0709-to-lower-case
0728-self-dividing-numbers
0728-self-dividing-numbers
0747-largest-number-at-least-twice-of-others
0747-largest-number-at-least-twice-of-others
0762-prime-number-of-set-bits-in-binary-representation
0762-prime-number-of-set-bits-in-binary-representation
0873-length-of-longest-fibonacci-subsequence
0873-length-of-longest-fibonacci-subsequence
0877-stone-game
0877-stone-game
0889-construct-binary-tree-from-preorder-and-postorder-traversal
0889-construct-binary-tree-from-preorder-and-postorder-traversal
0896-monotonic-array
0896-monotonic-array
0905-sort-array-by-parity
0905-sort-array-by-parity
0912-sort-an-array
0912-sort-an-array
0922-sort-array-by-parity-ii
0922-sort-array-by-parity-ii
1025-divisor-game
1025-divisor-game
1028-recover-a-tree-from-preorder-traversal
1028-recover-a-tree-from-preorder-traversal
1108-defanging-an-ip-address
1108-defanging-an-ip-address
1160-find-words-that-can-be-formed-by-characters
1160-find-words-that-can-be-formed-by-characters
1261-find-elements-in-a-contaminated-binary-tree
1261-find-elements-in-a-contaminated-binary-tree
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1287-element-appearing-more-than-25-in-sorted-array
1287-element-appearing-more-than-25-in-sorted-array
1351-count-negative-numbers-in-a-sorted-matrix
1351-count-negative-numbers-in-a-sorted-matrix
1394-find-lucky-integer-in-an-array
1394-find-lucky-integer-in-an-array
1415-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1415-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1431-kids-with-the-greatest-number-of-candies
1431-kids-with-the-greatest-number-of-candies
1455-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1455-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1460-make-two-arrays-equal-by-reversing-subarrays
1460-make-two-arrays-equal-by-reversing-subarrays
1491-average-salary-excluding-the-minimum-and-maximum-salary
1491-average-salary-excluding-the-minimum-and-maximum-salary
1492-the-kth-factor-of-n
1492-the-kth-factor-of-n
1524-number-of-sub-arrays-with-odd-sum
1524-number-of-sub-arrays-with-odd-sum
1588-sum-of-all-odd-length-subarrays
1588-sum-of-all-odd-length-subarrays
1662-check-if-two-string-arrays-are-equivalent
1662-check-if-two-string-arrays-are-equivalent
1678-goal-parser-interpretation
1678-goal-parser-interpretation
1688-count-of-matches-in-tournament
1688-count-of-matches-in-tournament
1749-maximum-absolute-sum-of-any-subarray
1749-maximum-absolute-sum-of-any-subarray
1812-determine-color-of-a-chessboard-square
1812-determine-color-of-a-chessboard-square
1822-sign-of-the-product-of-an-array
1822-sign-of-the-product-of-an-array
1832-check-if-the-sentence-is-pangram
1832-check-if-the-sentence-is-pangram
1837-sum-of-digits-in-base-k
1837-sum-of-digits-in-base-k
1880-check-if-word-equals-summation-of-two-words
1880-check-if-word-equals-summation-of-two-words
1913-maximum-product-difference-between-two-pairs
1913-maximum-product-difference-between-two-pairs
1941-check-if-all-characters-have-equal-number-of-occurrences
1941-check-if-all-characters-have-equal-number-of-occurrences
1952-three-divisors
1952-three-divisors
1967-number-of-strings-that-appear-as-substrings-in-word
1967-number-of-strings-that-appear-as-substrings-in-word
1979-find-greatest-common-divisor-of-array
1979-find-greatest-common-divisor-of-array
1980-find-unique-binary-string
1980-find-unique-binary-string
2011-final-value-of-variable-after-performing-operations
2011-final-value-of-variable-after-performing-operations
2053-kth-distinct-string-in-an-array
2053-kth-distinct-string-in-an-array
2085-count-common-words-with-one-occurrence
2085-count-common-words-with-one-occurrence
2089-find-target-indices-after-sorting-array
2089-find-target-indices-after-sorting-array
2108-find-first-palindromic-string-in-the-array
2108-find-first-palindromic-string-in-the-array
2114-maximum-number-of-words-found-in-sentences
2114-maximum-number-of-words-found-in-sentences
2119-a-number-after-a-double-reversal
2119-a-number-after-a-double-reversal
2148-count-elements-with-strictly-smaller-and-greater-elements
2148-count-elements-with-strictly-smaller-and-greater-elements
2169-count-operations-to-obtain-zero
2169-count-operations-to-obtain-zero
2180-count-integers-with-even-digit-sum
2180-count-integers-with-even-digit-sum
2185-counting-words-with-a-given-prefix
2185-counting-words-with-a-given-prefix
2235-add-two-integers
2235-add-two-integers
2255-count-prefixes-of-a-given-string
2255-count-prefixes-of-a-given-string
2278-percentage-of-letter-in-string
2278-percentage-of-letter-in-string
2396-strictly-palindromic-number
2396-strictly-palindromic-number
2404-most-frequent-even-element
2404-most-frequent-even-element
2413-smallest-even-multiple
2413-smallest-even-multiple
2427-number-of-common-factors
2427-number-of-common-factors
2442-count-number-of-distinct-integers-after-reverse-operations
2442-count-number-of-distinct-integers-after-reverse-operations
2455-average-value-of-even-numbers-that-are-divisible-by-three
2455-average-value-of-even-numbers-that-are-divisible-by-three
2465-number-of-distinct-averages
2465-number-of-distinct-averages
2467-most-profitable-path-in-a-tree
2467-most-profitable-path-in-a-tree
2469-convert-the-temperature
2469-convert-the-temperature
2481-minimum-cuts-to-divide-a-circle
2481-minimum-cuts-to-divide-a-circle
2520-count-the-digits-that-divide-a-number
2520-count-the-digits-that-divide-a-number
2549-count-distinct-numbers-on-board
2549-count-distinct-numbers-on-board
2553-separate-the-digits-in-an-array
2553-separate-the-digits-in-an-array
2652-sum-multiples
2652-sum-multiples
2716-minimize-string-length
2716-minimize-string-length
2733-neither-minimum-nor-maximum
2733-neither-minimum-nor-maximum
2744-find-maximum-number-of-string-pairs
2744-find-maximum-number-of-string-pairs
View all files
Repository files navigation
README
More
items
leetcode
My LeetCode solutions
About
My LeetCode solutions
leetcode.com/u/Vidhaan_J/
Resources
Readme
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.