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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
JavaScriptor
/
leetcode
Public
forked from
haoel/leetcode
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
leetcode
algorithms
cpp
on
master
User selector
All users
All time
Commit history
Commits on Jan 9, 2017
added totalHammingDistance
Vally79
committed
271fb95
View commit details
Copy full SHA for 271fb95
View code at this point
Browse repository at this point
Commits on Jan 6, 2017
New Problem Solution "Reconstruct Itinerary"
haoel
committed
121b458
View commit details
Copy full SHA for 121b458
View code at this point
Browse repository at this point
New Problem Solution "Verify Preorder Serialization of a Binary Tree"
haoel
committed
86f9497
View commit details
Copy full SHA for 86f9497
View code at this point
Browse repository at this point
Commits on Jan 2, 2017
New Problem Solution "Wiggle Sort II"
haoel
committed
7fc247a
View commit details
Copy full SHA for 7fc247a
View code at this point
Browse repository at this point
New Problem Solution - "Maximum Product of Word Lengths"
haoel
committed
f3c62b3
View commit details
Copy full SHA for f3c62b3
View code at this point
Browse repository at this point
New Problem Solution "Remove Duplicate Letters"
haoel
committed
9c3eac7
View commit details
Copy full SHA for 9c3eac7
View code at this point
Browse repository at this point
fix: forgot commit the "Find the Difference"
haoel
committed
aed69e7
View commit details
Copy full SHA for aed69e7
View code at this point
Browse repository at this point
New Problem Solution - "Super Ugly Number"
haoel
committed
1a3bf58
View commit details
Copy full SHA for 1a3bf58
View code at this point
Browse repository at this point
Commits on Dec 26, 2016
array index out of bounds, fix to low<n-1
omengye
authored
879e9e6
View commit details
Copy full SHA for 879e9e6
View code at this point
Browse repository at this point
Commits on Nov 13, 2016
New Problem Soluiton "Split Array Largest Sum"
haoel
committed
0941073
View commit details
Copy full SHA for 0941073
View code at this point
Browse repository at this point
New Problem Solution "Longest Palindrome"
haoel
committed
4d68a13
View commit details
Copy full SHA for 4d68a13
View code at this point
Browse repository at this point
New Problem Solution "Fizz Buzz"
haoel
committed
48978d8
View commit details
Copy full SHA for 48978d8
View code at this point
Browse repository at this point
New Problem "Arithmetic Slices"
haoel
committed
e7e1252
View commit details
Copy full SHA for e7e1252
View code at this point
Browse repository at this point
Commits on Nov 12, 2016
adjust the file's directory
haoel
committed
c54086b
View commit details
Copy full SHA for c54086b
View code at this point
Browse repository at this point
New Problem Solution "Add Strings"
haoel
committed
9f00ad1
View commit details
Copy full SHA for 9f00ad1
View code at this point
Browse repository at this point
New Problem Solution "Queue Reconstruction by Height"
haoel
committed
7fb99ce
View commit details
Copy full SHA for 7fb99ce
View code at this point
Browse repository at this point
New Problem Solution "Frog Jump"
haoel
committed
0e3f0e2
View commit details
Copy full SHA for 0e3f0e2
View code at this point
Browse repository at this point
Commits on Nov 11, 2016
New Problem Solution "Convert a Number to Hexadecimal"
haoel
committed
7961704
View commit details
Copy full SHA for 7961704
View code at this point
Browse repository at this point
fix: change the direcotry
haoel
committed
51e3e7f
View commit details
Copy full SHA for 51e3e7f
View code at this point
Browse repository at this point
New Problem Solution "Sum of Left Leaves"
haoel
committed
24839ce
View commit details
Copy full SHA for 24839ce
View code at this point
Browse repository at this point
New Problem Solution - "Remove K Digits"
haoel
committed
a991e74
View commit details
Copy full SHA for a991e74
View code at this point
Browse repository at this point
Commits on Nov 5, 2016
make the variables name more sense
haoel
committed
fff0041
View commit details
Copy full SHA for fff0041
View code at this point
Browse repository at this point
New Problem Solution "Binary Watch"
haoel
committed
4285701
View commit details
Copy full SHA for 4285701
View code at this point
Browse repository at this point
New Problem Solution "Nth Digit"
haoel
committed
fa4d3f6
View commit details
Copy full SHA for fa4d3f6
View code at this point
Browse repository at this point
Commits on Nov 4, 2016
New Problem Solution "Evaluate Division"
haoel
committed
f9e16a7
View commit details
Copy full SHA for f9e16a7
View code at this point
Browse repository at this point
New Problem Solution "Random Pick Index"
haoel
committed
51a0624
View commit details
Copy full SHA for 51a0624
View code at this point
Browse repository at this point
New Problem Solution "Integer Replacement"
haoel
committed
6becbec
View commit details
Copy full SHA for 6becbec
View code at this point
Browse repository at this point
Commits on Nov 2, 2016
New Problem Solution "Rotate Function"
haoel
committed
421189e
View commit details
Copy full SHA for 421189e
View code at this point
Browse repository at this point
correct the URL of "Elimination Game"
haoel
committed
2d433dd
View commit details
Copy full SHA for 2d433dd
View code at this point
Browse repository at this point
Commits on Oct 10, 2016
Merge pull request #101 from xusiwei/master
Show description for 5353d9e
haoel
authored
5353d9e
View commit details
Copy full SHA for 5353d9e
View code at this point
Browse repository at this point
Merge pull request #122 from FEIGONG/master
Show description for 032602d
haoel
authored
032602d
View commit details
Copy full SHA for 032602d
View code at this point
Browse repository at this point
Commits on Sep 7, 2016
New Problem Solution"Longest Substring with At Least K Repeating Characters"
haoel
committed
2f3a77d
View commit details
Copy full SHA for 2f3a77d
View code at this point
Browse repository at this point
New Problem Solution "UTF-8 Validation"
haoel
committed
cfe8809
View commit details
Copy full SHA for cfe8809
View code at this point
Browse repository at this point
New Problem "Is Subsequence"
haoel
committed
ea1a213
View commit details
Copy full SHA for ea1a213
View code at this point
Browse repository at this point
New Problem Solution "Perfect Rectangle"
haoel
committed
626efee
View commit details
Copy full SHA for 626efee
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.