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 }}
PreethiPantangi
/
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
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
967 Commits
967 Commits
.vscode
.vscode
1-two-sum
1-two-sum
1
1
100-same-tree
100-same-tree
101-symmetric-tree
101-symmetric-tree
1019-squares-of-a-sorted-array
1019-squares-of-a-sorted-array
102-binary-tree-level-order-traversal
102-binary-tree-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
103-binary-tree-zigzag-level-order-traversal
1034-subarrays-with-k-different-integers
1034-subarrays-with-k-different-integers
1036-rotting-oranges
1036-rotting-oranges
1039-find-the-town-judge
1039-find-the-town-judge
104-maximum-depth-of-binary-tree
104-maximum-depth-of-binary-tree
1046-max-consecutive-ones-iii
1046-max-consecutive-ones-iii
1047
1047
105-construct-binary-tree-from-preorder-and-inorder-traversal
105-construct-binary-tree-from-preorder-and-inorder-traversal
106-construct-binary-tree-from-inorder-and-postorder-traversal
106-construct-binary-tree-from-inorder-and-postorder-traversal
1086-divisor-game
1086-divisor-game
11-container-with-most-water
11-container-with-most-water
110-balanced-binary-tree
110-balanced-binary-tree
1137-height-checker
1137-height-checker
1153-product-sales-analysis-i
1153-product-sales-analysis-i
1160
1160
1161-project-employees-i
1161-project-employees-i
1174-sales-analysis-iii
1174-sales-analysis-iii
1179-game-play-analysis-i
1179-game-play-analysis-i
12-integer-to-roman
12-integer-to-roman
121-best-time-to-buy-and-sell-stock
121-best-time-to-buy-and-sell-stock
1217-relative-sort-array
1217-relative-sort-array
1236-n-th-tribonacci-number
1236-n-th-tribonacci-number
1245-user-activity-for-the-past-30-days-i
1245-user-activity-for-the-past-30-days-i
125
125
1252-break-a-palindrome
1252-break-a-palindrome
1258-article-views-i
1258-article-views-i
1267-remove-zero-sum-consecutive-nodes-from-linked-list
1267-remove-zero-sum-consecutive-nodes-from-linked-list
1290
1290
1292-immediate-food-delivery-ii
1292-immediate-food-delivery-ii
1293-three-consecutive-odds
1293-three-consecutive-odds
1295
1295
13-roman-to-integer
13-roman-to-integer
133-clone-graph
133-clone-graph
1331-path-with-maximum-gold
1331-path-with-maximum-gold
1352
1352
136-single-number
136-single-number
1370-count-number-of-nice-subarrays
1370-count-number-of-nice-subarrays
1371-minimum-remove-to-make-valid-parentheses
1371-minimum-remove-to-make-valid-parentheses
1381
1381
1390-average-selling-price
1390-average-selling-price
14-longest-common-prefix
14-longest-common-prefix
141-linked-list-cycle
141-linked-list-cycle
141
141
1415-students-and-examinations
1415-students-and-examinations
143-reorder-list
143-reorder-list
144-binary-tree-preorder-traversal
144-binary-tree-preorder-traversal
1441
1441
1444-number-of-steps-to-reduce-a-number-to-zero
1444-number-of-steps-to-reduce-a-number-to-zero
1445-number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold
1445-number-of-sub-arrays-of-size-k-and-average-greater-than-or-equal-to-threshold
145-binary-tree-postorder-traversal
145-binary-tree-postorder-traversal
146-lru-cache
146-lru-cache
1462-list-the-products-ordered-in-a-period
1462-list-the-products-ordered-in-a-period
1463-the-k-weakest-rows-in-a-matrix
1463-the-k-weakest-rows-in-a-matrix
1468-check-if-n-and-its-double-exist
1468-check-if-n-and-its-double-exist
1475
1475
15-3sum
15-3sum
1509-replace-employee-id-with-the-unique-identifier
1509-replace-employee-id-with-the-unique-identifier
151-reverse-words-in-a-string
151-reverse-words-in-a-string
1512
1512
1520-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1520-number-of-steps-to-reduce-a-number-in-binary-representation-to-one
1528-kids-with-the-greatest-number-of-candies
1528-kids-with-the-greatest-number-of-candies
153
153
1538-maximum-points-you-can-obtain-from-cards
1538-maximum-points-you-can-obtain-from-cards
1541-top-travellers
1541-top-travellers
1544
1544
155-min-stack
155-min-stack
1556-make-two-arrays-equal-by-reversing-subarrays
1556-make-two-arrays-equal-by-reversing-subarrays
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1566-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence
1570-final-prices-with-a-special-discount-in-a-shop
1570-final-prices-with-a-special-discount-in-a-shop
1574-maximum-product-of-two-elements-in-an-array
1574-maximum-product-of-two-elements-in-an-array
1598
1598
160
160
1610-xor-operation-in-an-array
1610-xor-operation-in-an-array
1615-range-sum-of-sorted-subarray-sums
1615-range-sum-of-sorted-subarray-sums
162
162
1642-water-bottles
1642-water-bottles
1646-kth-missing-positive-number
1646-kth-missing-positive-number
1662
1662
1664-find-users-with-valid-e-mails
1664-find-users-with-valid-e-mails
1666-make-the-string-great
1666-make-the-string-great
1667-find-kth-bit-in-nth-binary-string
1667-find-kth-bit-in-nth-binary-string
167-two-sum-ii-input-array-is-sorted
167-two-sum-ii-input-array-is-sorted
167
167
1670-patients-with-a-condition
1670-patients-with-a-condition
1670
1670
1688
1688
17-letter-combinations-of-a-phone-number
17-letter-combinations-of-a-phone-number
1700-minimum-time-to-make-rope-colorful
1700-minimum-time-to-make-rope-colorful
1700
1700
1720-crawler-log-folder
1720-crawler-log-folder
1724-customer-who-visited-but-did-not-make-any-transactions
1724-customer-who-visited-but-did-not-make-any-transactions
1730-special-array-with-x-elements-greater-than-or-equal-x
1730-special-array-with-x-elements-greater-than-or-equal-x
1734-bank-account-summary-ii
1734-bank-account-summary-ii
View all files
Repository files navigation
README
More
items
Solving Leet Code Problems using JavaScript
About
Solving Leet code questions
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.