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 }}
iamnitya
/
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
742 Commits
742 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0035-search-insert-position
0035-search-insert-position
0038-count-and-say
0038-count-and-say
0050-powx-n
0050-powx-n
0078-subsets
0078-subsets
0088-merge-sorted-array
0088-merge-sorted-array
0090-subsets-ii
0090-subsets-ii
0125-valid-palindrome
0125-valid-palindrome
0141-linked-list-cycle
0141-linked-list-cycle
0183-customers-who-never-order
0183-customers-who-never-order
0237-delete-node-in-a-linked-list
0237-delete-node-in-a-linked-list
0242-valid-anagram
0242-valid-anagram
0290-word-pattern
0290-word-pattern
0292-nim-game
0292-nim-game
0350-intersection-of-two-arrays-ii
0350-intersection-of-two-arrays-ii
0537-complex-number-multiplication
0537-complex-number-multiplication
0584-find-customer-referee
0584-find-customer-referee
0595-big-countries
0595-big-countries
0682-baseball-game
0682-baseball-game
0704-binary-search
0704-binary-search
0844-backspace-string-compare
0844-backspace-string-compare
0856-score-of-parentheses
0856-score-of-parentheses
0867-transpose-matrix
0867-transpose-matrix
0922-sort-array-by-parity-ii
0922-sort-array-by-parity-ii
1-two-sum
1-two-sum
1047-remove-all-adjacent-duplicates-in-string
1047-remove-all-adjacent-duplicates-in-string
1051-height-checker
1051-height-checker
1079-letter-tile-possibilities
1079-letter-tile-possibilities
1108-defanging-an-ip-address
1108-defanging-an-ip-address
118-pascals-triangle
118-pascals-triangle
1189-maximum-number-of-balloons
1189-maximum-number-of-balloons
1207-unique-number-of-occurrences
1207-unique-number-of-occurrences
1232-check-if-it-is-a-straight-line
1232-check-if-it-is-a-straight-line
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1281-subtract-the-product-and-sum-of-digits-of-an-integer
1287-element-appearing-more-than-25-in-sorted-array
1287-element-appearing-more-than-25-in-sorted-array
1295-find-numbers-with-even-number-of-digits
1295-find-numbers-with-even-number-of-digits
1299-replace-elements-with-greatest-element-on-right-side
1299-replace-elements-with-greatest-element-on-right-side
1304-find-n-unique-integers-sum-up-to-zero
1304-find-n-unique-integers-sum-up-to-zero
1313-decompress-run-length-encoded-list
1313-decompress-run-length-encoded-list
1323-maximum-69-number
1323-maximum-69-number
1342-number-of-steps-to-reduce-a-number-to-zero
1342-number-of-steps-to-reduce-a-number-to-zero
1351-count-negative-numbers-in-a-sorted-matrix
1351-count-negative-numbers-in-a-sorted-matrix
136-single-number
136-single-number
1365-how-many-numbers-are-smaller-than-the-current-number
1365-how-many-numbers-are-smaller-than-the-current-number
1374-generate-a-string-with-characters-that-have-odd-counts
1374-generate-a-string-with-characters-that-have-odd-counts
1389-create-target-array-in-the-given-order
1389-create-target-array-in-the-given-order
1431-kids-with-the-greatest-number-of-candies
1431-kids-with-the-greatest-number-of-candies
1450-number-of-students-doing-homework-at-a-given-time
1450-number-of-students-doing-homework-at-a-given-time
1464-maximum-product-of-two-elements-in-an-array
1464-maximum-product-of-two-elements-in-an-array
1470-shuffle-the-array
1470-shuffle-the-array
1475-final-prices-with-a-special-discount-in-a-shop
1475-final-prices-with-a-special-discount-in-a-shop
1480-running-sum-of-1d-array
1480-running-sum-of-1d-array
1486-xor-operation-in-an-array
1486-xor-operation-in-an-array
1491-average-salary-excluding-the-minimum-and-maximum-salary
1491-average-salary-excluding-the-minimum-and-maximum-salary
1502-can-make-arithmetic-progression-from-sequence
1502-can-make-arithmetic-progression-from-sequence
1512-number-of-good-pairs
1512-number-of-good-pairs
1523-count-odd-numbers-in-an-interval-range
1523-count-odd-numbers-in-an-interval-range
1528-shuffle-string
1528-shuffle-string
1550-three-consecutive-odds
1550-three-consecutive-odds
1572-matrix-diagonal-sum
1572-matrix-diagonal-sum
1588-sum-of-all-odd-length-subarrays
1588-sum-of-all-odd-length-subarrays
1662-check-if-two-string-arrays-are-equivalent
1662-check-if-two-string-arrays-are-equivalent
1672-richest-customer-wealth
1672-richest-customer-wealth
1678-goal-parser-interpretation
1678-goal-parser-interpretation
1684-count-the-number-of-consistent-strings
1684-count-the-number-of-consistent-strings
1688-count-of-matches-in-tournament
1688-count-of-matches-in-tournament
169-majority-element
169-majority-element
1704-determine-if-string-halves-are-alike
1704-determine-if-string-halves-are-alike
1710-maximum-units-on-a-truck
1710-maximum-units-on-a-truck
172-factorial-trailing-zeroes
172-factorial-trailing-zeroes
1732-find-the-highest-altitude
1732-find-the-highest-altitude
1748-sum-of-unique-elements
1748-sum-of-unique-elements
1757-recyclable-and-low-fat-products
1757-recyclable-and-low-fat-products
1768-merge-strings-alternately
1768-merge-strings-alternately
1773-count-items-matching-a-rule
1773-count-items-matching-a-rule
1790-check-if-one-string-swap-can-make-strings-equal
1790-check-if-one-string-swap-can-make-strings-equal
1812-determine-color-of-a-chessboard-square
1812-determine-color-of-a-chessboard-square
1816-truncate-sentence
1816-truncate-sentence
1822-sign-of-the-product-of-an-array
1822-sign-of-the-product-of-an-array
1832-check-if-the-sentence-is-pangram
1832-check-if-the-sentence-is-pangram
1835-find-xor-sum-of-all-pairs-bitwise-and
1835-find-xor-sum-of-all-pairs-bitwise-and
1837-sum-of-digits-in-base-k
1837-sum-of-digits-in-base-k
1844-replace-all-digits-with-characters
1844-replace-all-digits-with-characters
1859-sorting-the-sentence
1859-sorting-the-sentence
1863-sum-of-all-subset-xor-totals
1863-sum-of-all-subset-xor-totals
1880-check-if-word-equals-summation-of-two-words
1880-check-if-word-equals-summation-of-two-words
191-number-of-1-bits
191-number-of-1-bits
1913-maximum-product-difference-between-two-pairs
1913-maximum-product-difference-between-two-pairs
1920-build-array-from-permutation
1920-build-array-from-permutation
1929-concatenation-of-array
1929-concatenation-of-array
1941-check-if-all-characters-have-equal-number-of-occurrences
1941-check-if-all-characters-have-equal-number-of-occurrences
1979-find-greatest-common-divisor-of-array
1979-find-greatest-common-divisor-of-array
1996-the-number-of-weak-characters-in-the-game
1996-the-number-of-weak-characters-in-the-game
2-add-two-numbers
2-add-two-numbers
20-valid-parentheses
20-valid-parentheses
2000-reverse-prefix-of-word
2000-reverse-prefix-of-word
2006-count-number-of-pairs-with-absolute-difference-k
2006-count-number-of-pairs-with-absolute-difference-k
2011-final-value-of-variable-after-performing-operations
2011-final-value-of-variable-after-performing-operations
2032-two-out-of-three
2032-two-out-of-three
2057-smallest-index-with-equal-value
2057-smallest-index-with-equal-value
2103-rings-and-rods
2103-rings-and-rods
View all files
Repository files navigation
README
More
items
LeetCode Solutions in Python mostly
Some have solutions in C also
About
No description, website, or topics provided.
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.