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
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 }}
arkhipov-ak
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
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
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
158 Commits
158 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1. Two Sum.js
1. Two Sum.js
100. Same Tree.js
100. Same Tree.js
1002. Find Common Characters.js
1002. Find Common Characters.js
1009. Complement of Base 10 Integer.js
1009. Complement of Base 10 Integer.js
101. Symmetric Tree.js
101. Symmetric Tree.js
1017. Convert to Base -2.js
1017. Convert to Base -2.js
1021. Remove Outermost Parentheses.js
1021. Remove Outermost Parentheses.js
1025. Divisor Game.js
1025. Divisor Game.js
104. Maximum Depth of Binary Tree.js
104. Maximum Depth of Binary Tree.js
1071. Greatest Common Divisor of Strings.js
1071. Greatest Common Divisor of Strings.js
108. Convert Sorted Array to Binary Search Tree.js
108. Convert Sorted Array to Binary Search Tree.js
1089. Duplicate Zeros.js
1089. Duplicate Zeros.js
11. Container With Most Water.js
11. Container With Most Water.js
110. Balanced Binary Tree.js
110. Balanced Binary Tree.js
1108. Defanging an IP Address.js
1108. Defanging an IP Address.js
112. Path Sum.js
112. Path Sum.js
1122. Relative Sort Array.js
1122. Relative Sort Array.js
1137. N-th Tribonacci Number.js
1137. N-th Tribonacci Number.js
1154. Day of the Year.js
1154. Day of the Year.js
118. Pascal's Triangle.js
118. Pascal's Triangle.js
1185. Day of the Week.js
1185. Day of the Week.js
119. Pascal's Triangle II.js
119. Pascal's Triangle II.js
12. Integer to Roman.js
12. Integer to Roman.js
1207. Unique Number of Occurrences.js
1207. Unique Number of Occurrences.js
121. Best Time to Buy and Sell Stock.js
121. Best Time to Buy and Sell Stock.js
1221. Split a String in Balanced Strings.js
1221. Split a String in Balanced Strings.js
125. Valid Palindrome.js
125. Valid Palindrome.js
1266. Minimum Time Visiting All Points.js
1266. Minimum Time Visiting All Points.js
1281. Subtract the Product and Sum of Digits of an Integer.js
1281. Subtract the Product and Sum of Digits of an Integer.js
1295. Find Numbers with Even Number of Digits.js
1295. Find Numbers with Even Number of Digits.js
13. Roman to Integer.js
13. Roman to Integer.js
1304. Find N Unique Integers Sum up to Zero.js
1304. Find N Unique Integers Sum up to Zero.js
1323. Maximum 69 Number.js
1323. Maximum 69 Number.js
1332. Remove Palindromic Subsequences.js
1332. Remove Palindromic Subsequences.js
1342. Number of Steps to Reduce a Number to Zero.js
1342. Number of Steps to Reduce a Number to Zero.js
1346. Check If N and Its Double Exist.js
1346. Check If N and Its Double Exist.js
1356. Sort Integers by The Number of 1 Bits.js
1356. Sort Integers by The Number of 1 Bits.js
136. Single Number.js
136. Single Number.js
1365. How Many Numbers Are Smaller Than the Current Number.js
1365. How Many Numbers Are Smaller Than the Current Number.js
137. Single Number II.js
137. Single Number II.js
1374. Generate a String With Characters That Have Odd Counts.js
1374. Generate a String With Characters That Have Odd Counts.js
139. Word Break.js
139. Word Break.js
14. Longest Common Prefix.js
14. Longest Common Prefix.js
1431. Kids With the Greatest Number of Candies.js
1431. Kids With the Greatest Number of Candies.js
1446. Consecutive Characters.js
1446. Consecutive Characters.js
1470. Shuffle the Array.js
1470. Shuffle the Array.js
148. Sort List.js
148. Sort List.js
1480. Running Sum of 1d Array.js
1480. Running Sum of 1d Array.js
1507. Reformat Date.js
1507. Reformat Date.js
151. Reverse Words in a String.js
151. Reverse Words in a String.js
1512. Number of Good Pairs.js
1512. Number of Good Pairs.js
1528. Shuffle String.js
1528. Shuffle String.js
1550. Three Consecutive Odds.js
1550. Three Consecutive Odds.js
1576. Replace All 's to Avoid Consecutive Repeating Characters.js
1576. Replace All 's to Avoid Consecutive Repeating Characters.js
1588. Sum of All Odd Length Subarrays.js
1588. Sum of All Odd Length Subarrays.js
162. Find Peak Element.js
162. Find Peak Element.js
1636. Sort Array by Increasing Frequency.js
1636. Sort Array by Increasing Frequency.js
1662. Check If Two String Arrays are Equivalent.js
1662. Check If Two String Arrays are Equivalent.js
1672. Richest Customer Wealth.js
1672. Richest Customer Wealth.js
169. Majority Element.js
169. Majority Element.js
1694. Reformat Phone Number.js
1694. Reformat Phone Number.js
17. Letter Combinations of a Phone Number.js
17. Letter Combinations of a Phone Number.js
171. Excel Sheet Column Number.js
171. Excel Sheet Column Number.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
179. Largest Number.js
179. Largest Number.js
182. Duplicate Emails.sql
182. Duplicate Emails.sql
1832. Check if the Sentence Is Pangram.js
1832. Check if the Sentence Is Pangram.js
1859. Sorting the Sentence.js
1859. Sorting the Sentence.js
190. Reverse Bits.js
190. Reverse Bits.js
191. Number of 1 Bits.js
191. Number of 1 Bits.js
1920. Build Array from Permutation.js
1920. Build Array from Permutation.js
1929. Concatenation of Array.js
1929. Concatenation of Array.js
195. Tenth Line.js
195. Tenth Line.js
2. Add Two Numbers.js
2. Add Two Numbers.js
20. Valid Parentheses.js
20. Valid Parentheses.js
2011. Final Value of Variable After Performing Operations.JS
2011. Final Value of Variable After Performing Operations.JS
202. Happy Number.js
202. Happy Number.js
205. Isomorphic Strings.js
205. Isomorphic Strings.js
206. Reverse Linked List.js
206. Reverse Linked List.js
2089. Find Target Indices After Sorting Array.js
2089. Find Target Indices After Sorting Array.js
21. Merge Two Sorted Lists.js
21. Merge Two Sorted Lists.js
2108. Find First Palindromic String in the Array.js
2108. Find First Palindromic String in the Array.js
2114. Maximum Number of Words Found in Sentences.js
2114. Maximum Number of Words Found in Sentences.js
214. Shortest Palindrome.js
214. Shortest Palindrome.js
2160. Minimum Sum of Four Digit Number After Splitting Digits.js
2160. Minimum Sum of Four Digit Number After Splitting Digits.js
217. Contains Duplicate.js
217. Contains Duplicate.js
219. Contains Duplicate II.js
219. Contains Duplicate II.js
22. Generate Parentheses.js
22. Generate Parentheses.js
2215. Find the Difference of Two Arrays.js
2215. Find the Difference of Two Arrays.js
226. Invert Binary Tree.js
226. Invert Binary Tree.js
231. Power of Two.js
231. Power of Two.js
234. Palindrome Linked List.js
234. Palindrome Linked List.js
2351. First Letter to Appear Twice.js
2351. First Letter to Appear Twice.js
2396. Strictly Palindromic Number.js
2396. Strictly Palindromic Number.js
24. Swap Nodes in Pairs.js
24. Swap Nodes in Pairs.js
2418. Sort the People.js
2418. Sort the People.js
242. Valid Anagram.js
242. Valid Anagram.js
2469. Convert the Temperature.js
2469. Convert the Temperature.js
2535. Difference Between Element Sum and Digit Sum of an Array.js
2535. Difference Between Element Sum and Digit Sum of an Array.js
View all files
About
LeetCode Solutions
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.