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 }}
loingo95
/
leetcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
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
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
133 Commits
133 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0001-two-sum
0001-two-sum
000n-queens-ii
000n-queens-ii
0017-letter-combinations-of-a-phone-number
0017-letter-combinations-of-a-phone-number
0037-sudoku-solver
0037-sudoku-solver
0046-permutations
0046-permutations
0047-permutations-ii
0047-permutations-ii
0051-n-queens
0051-n-queens
0090-subsets-ii
0090-subsets-ii
0min-stack
0min-stack
1160-find-words-that-can-be-formed-by-characters
1160-find-words-that-can-be-formed-by-characters
1582-special-positions-in-a-binary-matrix
1582-special-positions-in-a-binary-matrix
1662-check-if-two-string-arrays-are-equivalent
1662-check-if-two-string-arrays-are-equivalent
1913-maximum-product-difference-between-two-pairs
1913-maximum-product-difference-between-two-pairs
23536-554-200-number-of-islands
23536-554-200-number-of-islands
2482-difference-between-ones-and-zeros-in-row-and-column
2482-difference-between-ones-and-zeros-in-row-and-column
4898-224-752-open-the-lock
4898-224-752-open-the-lock
add-two-numbers
add-two-numbers
binary-tree-inorder-traversal
binary-tree-inorder-traversal
climbing-stairs
climbing-stairs
fibonacci-number
fibonacci-number
k-th-symbol-in-grammar
k-th-symbol-in-grammar
kth-smallest-element-in-a-bst
kth-smallest-element-in-a-bst
linked-list-cycle
linked-list-cycle
lowest-common-ancestor-of-a-binary-tree
lowest-common-ancestor-of-a-binary-tree
maximum-depth-of-binary-tree
maximum-depth-of-binary-tree
merge-two-sorted-lists
merge-two-sorted-lists
misc/
recursion-ii
misc/
recursion-ii
number-of-islands
number-of-islands
open-the-lock
open-the-lock
pascals-triangle-ii
pascals-triangle-ii
perfect-squares
perfect-squares
powx-n
powx-n
reorder-list
reorder-list
reverse-linked-list-ii
reverse-linked-list-ii
reverse-linked-list
reverse-linked-list
reverse-string
reverse-string
search-a-2d-matrix-ii
search-a-2d-matrix-ii
search-in-a-binary-search-tree
search-in-a-binary-search-tree
sort-an-array
sort-an-array
swap-nodes-in-pairs
swap-nodes-in-pairs
symmetric-tree
symmetric-tree
third-maximum-number
third-maximum-number
tmp
tmp
unique-binary-search-trees-ii
unique-binary-search-trees-ii
valid-parentheses
valid-parentheses
validate-binary-search-tree
validate-binary-search-tree
.gitignore
.gitignore
README.md
README.md
backtracking_nqueen.py
backtracking_nqueen.py
View all files
Repository files navigation
README
More
items
leetcode
Repository to save all leetcode challenge code
About
Repository to save all leetcode challenge code
Resources
Readme
Activity
Stars
0
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.