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 }}
HidemichiShimura
LeetCode
Repository navigation
Code
Issues
2
(2)
Pull requests
107
(107)
Actions
Projects
Security and quality
Insights
More
items
LeetCode
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
My code for LeetCode problems
Topics
javascript
leetcode
leetcode-javascript
leetcode-solutions
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
449 Commits
449 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.github
.github
1
1
1089
1089
125
125
136
136
1470
1470
169
169
1710
1710
205
205
217
217
231
231
242
242
2651
2651
268
268
2696
2696
2739
2739
2748
2748
2769
2769
28
28
2810
2810
283
283
2894
2894
2942
2942
2951
2951
2956
2956
2974
2974
3042
3042
3046
3046
345
345
35
35
383
383
387
387
412
412
434
434
482
482
504
504
58
58
599
599
69
69
7
7
9
9
.gitignore
.gitignore
1099.two-sum-less-than-k.js
1099.two-sum-less-than-k.js
1108.defanging-an-ip-address.js
1108.defanging-an-ip-address.js
1119.remove-vowels-from-a-string.js
1119.remove-vowels-from-a-string.js
1122.relative-sort-array.js
1122.relative-sort-array.js
1165.single-row-keyboard.js
1165.single-row-keyboard.js
1176.diet-plan-performance.js
1176.diet-plan-performance.js
1189.maximum-number-of-balloons.js
1189.maximum-number-of-balloons.js
1207.unique-number-of-occurrences.js
1207.unique-number-of-occurrences.js
1221.split-a-string-in-balanced-strings.js
1221.split-a-string-in-balanced-strings.js
1228.missing-number-in-arithmetic-progression.js
1228.missing-number-in-arithmetic-progression.js
1304.find-n-unique-integers-sum-up-to-zero.js
1304.find-n-unique-integers-sum-up-to-zero.js
1313.decompress-run-length-encoded-list.js
1313.decompress-run-length-encoded-list.js
1317.convert-integer-to-the-sum-of-two-no-zero-integers.js
1317.convert-integer-to-the-sum-of-two-no-zero-integers.js
1342. Number of Steps to Reduce a Number to Zero.js
1342. Number of Steps to Reduce a Number to Zero.js
1356.sort-integers-by-the-number-of-1-bits.js
1356.sort-integers-by-the-number-of-1-bits.js
1365.how-many-numbers-are-smaller-than-the-current-number.js
1365.how-many-numbers-are-smaller-than-the-current-number.js
1389.create-target-array-in-the-given-order.js
1389.create-target-array-in-the-given-order.js
1399.count-largest-group.js
1399.count-largest-group.js
1413.minimum-value-to-get-positive-step-by-step-sum.js
1413.minimum-value-to-get-positive-step-by-step-sum.js
1431.kids-with-the-greatest-number-of-candies.js
1431.kids-with-the-greatest-number-of-candies.js
1436.destination-city.js
1436.destination-city.js
1450.number-of-students-doing-homework-at-a-given-time.js
1450.number-of-students-doing-homework-at-a-given-time.js
1480. Running Sum of 1d Array.js
1480. Running Sum of 1d Array.js
1491.average-salary-excluding-the-minimum-and-maximum-salary.js
1491.average-salary-excluding-the-minimum-and-maximum-salary.js
1507.reformat-date.js
1507.reformat-date.js
1512.number-of-good-pairs.js
1512.number-of-good-pairs.js
1528.shuffle-string.js
1528.shuffle-string.js
1539.kth-missing-positive-number.js
1539.kth-missing-positive-number.js
1544.make-the-string-great.js
1544.make-the-string-great.js
1576.replace-all-s-to-avoid-consecutive-repeating-characters.js
1576.replace-all-s-to-avoid-consecutive-repeating-characters.js
1592.rearrange-spaces-between-words.js
1592.rearrange-spaces-between-words.js
1598.crawler-log-folder.js
1598.crawler-log-folder.js
1624.largest-substring-between-two-equal-characters.js
1624.largest-substring-between-two-equal-characters.js
1646.get-maximum-in-generated-array.js
1646.get-maximum-in-generated-array.js
1672. Richest Customer Wealth.js
1672. Richest Customer Wealth.js
1678.goal-parser-interpretation.js
1678.goal-parser-interpretation.js
1720.decode-xored-array.js
1720.decode-xored-array.js
1736.latest-time-by-replacing-hidden-digits.js
1736.latest-time-by-replacing-hidden-digits.js
1742.maximum-number-of-balls-in-a-box.js
1742.maximum-number-of-balls-in-a-box.js
1748.sum-of-unique-elements.js
1748.sum-of-unique-elements.js
1752.check-if-array-is-sorted-and-rotated.js
1752.check-if-array-is-sorted-and-rotated.js
1768.merge-strings-alternately.js
1768.merge-strings-alternately.js
1773.count-items-matching-a-rule.js
1773.count-items-matching-a-rule.js
1790.check-if-one-string-swap-can-make-strings-equal.js
1790.check-if-one-string-swap-can-make-strings-equal.js
1805.number-of-different-integers-in-a-string.js
1805.number-of-different-integers-in-a-string.js
1832.check-if-the-sentence-is-pangram.js
1832.check-if-the-sentence-is-pangram.js
1848.minimum-distance-to-the-target-element.js
1848.minimum-distance-to-the-target-element.js
1869.longer-contiguous-segments-of-ones-than-zeros.js
1869.longer-contiguous-segments-of-ones-than-zeros.js
1874.minimize-product-sum-of-two-arrays.js
1874.minimize-product-sum-of-two-arrays.js
1920.build-array-from-permutation.js
1920.build-array-from-permutation.js
1925.count-square-sum-triples.js
1925.count-square-sum-triples.js
1929.concatenation-of-array.js
1929.concatenation-of-array.js
1933.check-if-string-is-decomposable-into-value-equal-substrings.js
1933.check-if-string-is-decomposable-into-value-equal-substrings.js
1957.delete-characters-to-make-fancy-string.js
1957.delete-characters-to-make-fancy-string.js
1984.minimum-difference-between-highest-and-lowest-of-k-scores.js
1984.minimum-difference-between-highest-and-lowest-of-k-scores.js
1991.find-the-middle-index-in-array.js
1991.find-the-middle-index-in-array.js
1995.count-special-quadruplets.js
1995.count-special-quadruplets.js
2011.final-value-of-variable-after-performing-operations.js
2011.final-value-of-variable-after-performing-operations.js
View all files
Repository files navigation
README
More
items
LeetCode Achievement
About
My code for LeetCode problems
Topics
javascript
leetcode
leetcode-javascript
leetcode-solutions
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Contributors
Languages
You can’t perform that action at this time.