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 }}
HashTag42
/
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
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
298 Commits
298 Commits
.claude
.claude
.vscode
.vscode
1. Two Sum
1. Two Sum
102. Binary Tree Level Order Traversal
102. Binary Tree Level Order Traversal
1047. Remove All Adjacent Duplicates in String
1047. Remove All Adjacent Duplicates in String
1071. Greatest Common Divisor of Strings
1071. Greatest Common Divisor of Strings
1137. N-th Tribonacci Number
1137. N-th Tribonacci Number
118. Pascal Triangle
118. Pascal Triangle
1207. Unique Number of Occurrences
1207. Unique Number of Occurrences
121. Best Time to Buy and Sell Stock
121. Best Time to Buy and Sell Stock
125. Valid Palindrome
125. Valid Palindrome
13. Roman To Integer
13. Roman To Integer
1342. Number of Steps to Reduce a Number to Zero/
py
1342. Number of Steps to Reduce a Number to Zero/
py
136. Unique Number
136. Unique Number
14. Longest Common Prefix
14. Longest Common Prefix
1431. Kids With the Greatest Number of Candies
1431. Kids With the Greatest Number of Candies
1480. Running Sum of 1d Array/
py
1480. Running Sum of 1d Array/
py
167. Two Sum II - Input Array Is Sorted
167. Two Sum II - Input Array Is Sorted
1672. Richest Customer Wealth/
py
1672. Richest Customer Wealth/
py
169. Majority Element
169. Majority Element
1732. Find the Highest Altitude
1732. Find the Highest Altitude
1768. Merge Strings Alternately
1768. Merge Strings Alternately
1791. Find Center of Star Graph
1791. Find Center of Star Graph
1991. Find the Middle Index of Array
1991. Find the Middle Index of Array
2. Add Two Numbers
2. Add Two Numbers
20. Valid Parentheses
20. Valid Parentheses
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
2215. Find the Difference of Two Arrays
2215. Find the Difference of Two Arrays
2235. Add Two Integers/
py
2235. Add Two Integers/
py
2236. Root Equals Sum of Children/
py
2236. Root Equals Sum of Children/
py
231. Power of Two
231. Power of Two
242. Valid Anagram
242. Valid Anagram
26. Remove Duplicates from Sorted Array
26. Remove Duplicates from Sorted Array
268. Missing Number
268. Missing Number
27. Remove Element
27. Remove Element
28. Find the Index of the First Occurence of a String
28. Find the Index of the First Occurence of a String
283. Move Zeroes
283. Move Zeroes
3. Longest Substring Without Repeating Characters
3. Longest Substring Without Repeating Characters
338. Counting Bits
338. Counting Bits
344. Reverse String
344. Reverse String
345. Reverse Vowels of a String
345. Reverse Vowels of a String
349. Intersection of Two Arrays
349. Intersection of Two Arrays
35. Search Insert Position
35. Search Insert Position
374. Guess Number Higher or Lower
374. Guess Number Higher or Lower
383. Ransom Note/
py
383. Ransom Note/
py
387. First Unique Character in a String
387. First Unique Character in a String
392. Is Subsequence
392. Is Subsequence
408. Valid Word Abbreviation/
py
408. Valid Word Abbreviation/
py
412. Fizz Buzz/
py
412. Fizz Buzz/
py
496. Next Greater Element I
496. Next Greater Element I
50. Pow(x, n)
50. Pow(x, n)
509. Fibonacci Number/
py
509. Fibonacci Number/
py
58. Length of Last Word
58. Length of Last Word
605. Can Place Flowers
605. Can Place Flowers
643. Maximum Average Subarray I
643. Maximum Average Subarray I
66. Plus One
66. Plus One
67. Add Binary
67. Add Binary
680. Valid Palindrome II
680. Valid Palindrome II
69. Sqrt(x)
69. Sqrt(x)
70. Climbing Stairs
70. Climbing Stairs
700. Search in a Binary Search Tree
700. Search in a Binary Search Tree
724. Find Pivot Index
724. Find Pivot Index
733. Flood Fill/
py
733. Flood Fill/
py
746. Min Cost Climbing Stairs
746. Min Cost Climbing Stairs
796. Rotate String
796. Rotate String
876. Middle of the Linked List/
py
876. Middle of the Linked List/
py
88. Merge Sorted Array
88. Merge Sorted Array
9. Palindrome Number
9. Palindrome Number
933. Number of Recent Calls
933. Number of Recent Calls
94. Binary Tree Inorder Traversal
94. Binary Tree Inorder Traversal
997. Find the Town Judge/
py
997. Find the Town Judge/
py
Shared
Shared
.flake8
.flake8
.gitattributes
.gitattributes
.gitignore
.gitignore
LeetCode.sln
LeetCode.sln
coverage.runsettings
coverage.runsettings
View all files
About
Coding challenges
leetcode.com/
Topics
coding-challenges
leetcode
leetcode-python3
leetcode-solutions
python3
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.