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 }}
hammertank
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
42 Commits
42 Commits
Folders and files
Name
Name
Last commit message
Last commit date
Add Two Numbers
Add Two Numbers
Basic Calculator/
src
Basic Calculator/
src
Best Time to Buy and Sell Stock/
src
Best Time to Buy and Sell Stock/
src
Binary Search Tree Iterator/
src
Binary Search Tree Iterator/
src
Binary Tree Zigzag Level Order Traversal/
src
Binary Tree Zigzag Level Order Traversal/
src
Combinations/
src
Combinations/
src
Contains Duplicate II/
src
Contains Duplicate II/
src
Contains Duplicate III/
src
Contains Duplicate III/
src
Contains Duplicate/
src
Contains Duplicate/
src
Count Primes/
src
Count Primes/
src
Different Ways to Add Parentheses
Different Ways to Add Parentheses
Evaluate Reverse Polish Notation/
src
Evaluate Reverse Polish Notation/
src
Factorial Trailing Zeroes/
src
Factorial Trailing Zeroes/
src
Find Kth Largest XOR Coordinate Value
Find Kth Largest XOR Coordinate Value
Find Minimum in Rotated Sorted Array II/
src
Find Minimum in Rotated Sorted Array II/
src
First Bad Version/
src
First Bad Version/
src
First Missing Positive/
src
First Missing Positive/
src
Flatten Binary Tree to Linked List/
src
Flatten Binary Tree to Linked List/
src
Jump Game II
Jump Game II
Linked List Cycle/
src
Linked List Cycle/
src
Longest Increasing Subsequence/
src
Longest Increasing Subsequence/
src
Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters
Minimum Depth of Binary Tree/
src
Minimum Depth of Binary Tree/
src
Minimum Path Sum/
src
Minimum Path Sum/
src
Minimum Window Substring/
src
Minimum Window Substring/
src
Multiply Strings/
src
Multiply Strings/
src
N-Queens II/
src
N-Queens II/
src
N-Queens/
src
N-Queens/
src
Nim Game/
src
Nim Game/
src
Peeking Iterator/
src
Peeking Iterator/
src
Power of Two
Power of Two
Range Sum Query - Mutable/
src
Range Sum Query - Mutable/
src
Remove Element/
src
Remove Element/
src
Remove Invalid Parentheses/
src
Remove Invalid Parentheses/
src
Search in Rotated Sorted Array II/
src
Search in Rotated Sorted Array II/
src
Simplify Path/
src
Simplify Path/
src
Spiral Matrix/
src
Spiral Matrix/
src
Sqrt(x)/
src
Sqrt(x)/
src
Strange Printer
Strange Printer
String to Integer (atoi)/
src
String to Integer (atoi)/
src
Sum Root to Leaf Numbers/
src
Sum Root to Leaf Numbers/
src
Trapping Rain Water/
src
Trapping Rain Water/
src
Unique Paths II/
src
Unique Paths II/
src
Unique Paths/
src
Unique Paths/
src
Valid Anagram/
src
Valid Anagram/
src
Valid Number/
src
Valid Number/
src
Word Ladder/
src
Word Ladder/
src
count-triplets-that-can-form-two-arrays-of-equal-xor
count-triplets-that-can-form-two-arrays-of-equal-xor
maximum-product-subarray
maximum-product-subarray
min-stack
min-stack
palindrome-number
palindrome-number
remove-duplicates-from-sorted-array
remove-duplicates-from-sorted-array
reverse-bits
reverse-bits
reverse-nodes-in-k-Group
reverse-nodes-in-k-Group
search-range
search-range
sorted-array-to-bst
sorted-array-to-bst
two-sum
two-sum
.gitignore
.gitignore
README.md
README.md
View all files
Repository files navigation
README
More
items
leetcode
Solutions of problems on leetcode in Java
About
Solutions of problems on leetcode in Java
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
1
fork
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.