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 }}
newfull5
/
LeetCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
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
226 Commits
226 Commits
1. Two Sum.py
1. Two Sum.py
1. Two Sum.rs
1. Two Sum.rs
10. Regular Expression Matching.py
10. Regular Expression Matching.py
1010. Pairs of Songs With Total Durations Divisible by 60.py
1010. Pairs of Songs With Total Durations Divisible by 60.py
1013. Partition Array Into Three Parts With Equal Sum.py
1013. Partition Array Into Three Parts With Equal Sum.py
104. Maximum Depth of Binary Tree.py
104. Maximum Depth of Binary Tree.py
1091. Shortest Path in Binary Matrix.py
1091. Shortest Path in Binary Matrix.py
11. Container With Most Water.py
11. Container With Most Water.py
1137. N-th Tribonacci Number.py
1137. N-th Tribonacci Number.py
1143. Longest Common Subsequence.py
1143. Longest Common Subsequence.py
118. Pascal's Triangle.py
118. Pascal's Triangle.py
1186. Maximum Subarray Sum with One Deletion.py
1186. Maximum Subarray Sum with One Deletion.py
119. Pascal's Triangle II.py
119. Pascal's Triangle II.py
1190. Reverse Substrings Between Each Pair of Parentheses.py
1190. Reverse Substrings Between Each Pair of Parentheses.py
12. Integer to Roman.py
12. Integer to Roman.py
1200. Minimum Absolute Difference.py
1200. Minimum Absolute Difference.py
1207. Unique Number of Occurrences.py
1207. Unique Number of Occurrences.py
121. Best Time to Buy and Sell Stock.py
121. Best Time to Buy and Sell Stock.py
122. Best Time to Buy and Sell Stock II.py
122. Best Time to Buy and Sell Stock II.py
1222. Queens That Can Attack the King.py
1222. Queens That Can Attack the King.py
125. Valid Palindrome.py
125. Valid Palindrome.py
13. Roman to Integer.py
13. Roman to Integer.py
1309. Decrypt String from Alphabet to Integer Mapping.py
1309. Decrypt String from Alphabet to Integer Mapping.py
1323. Maximum 69 Number.py
1323. Maximum 69 Number.py
1337. The K Weakest Rows in a Matrix.py
1337. The K Weakest Rows in a Matrix.py
1347. Minimum Number of Steps to Make Two Strings Anagram.py
1347. Minimum Number of Steps to Make Two Strings Anagram.py
136. Single Number.py
136. Single Number.py
1365. How Many Numbers Are Smaller Than the Current Number.py
1365. How Many Numbers Are Smaller Than the Current Number.py
14. Longest Common Prefix.py
14. Longest Common Prefix.py
14. Longest Common Prefix.rs
14. Longest Common Prefix.rs
1417. Reformat The String.py
1417. Reformat The String.py
1437. Check If All 1's Are at Least Length K Places Away.py
1437. Check If All 1's Are at Least Length K Places Away.py
1460. Make Two Arrays Equal by Reversing Sub-arrays.py
1460. Make Two Arrays Equal by Reversing Sub-arrays.py
147. Insertion Sort List
147. Insertion Sort List
148. Sort List.py
148. Sort List.py
1480. Running Sum of 1d Array.py
1480. Running Sum of 1d Array.py
1482. Minimum Number of Days to Make m Bouquets.py
1482. Minimum Number of Days to Make m Bouquets.py
15. 3Sum.py
15. 3Sum.py
151. Reverse Words in a String.py
151. Reverse Words in a String.py
1582. Special Positions in a Binary Matrix.py
1582. Special Positions in a Binary Matrix.py
1619. Mean of Array After Removing Some Elements.py
1619. Mean of Array After Removing Some Elements.py
1626. Best Team With No Conflicts.py
1626. Best Team With No Conflicts.py
1641. Count Sorted Vowel Strings.py
1641. Count Sorted Vowel Strings.py
1653. Minimum Deletions to Make String Balanced.py
1653. Minimum Deletions to Make String Balanced.py
167. Two Sum II - Input array is sorted.py
167. Two Sum II - Input array is sorted.py
1679. Max Number of K-Sum Pairs.py
1679. Max Number of K-Sum Pairs.py
169. Majority Element.py
169. Majority Element.py
1695. Maximum Erasure Value.py
1695. Maximum Erasure Value.py
17. Letter Combinations of a Phone Number,py
17. Letter Combinations of a Phone Number,py
172. Factorial Trailing Zeroes.py
172. Factorial Trailing Zeroes.py
1748. Sum of Unique Elements.py
1748. Sum of Unique Elements.py
179. Largest Number.py
179. Largest Number.py
1822. Sign of the Product of an Array.py
1822. Sign of the Product of an Array.py
1827. Minimum Operations to Make the Array Increasing.py
1827. Minimum Operations to Make the Array Increasing.py
1869. Longer Contiguous Segments of Ones than Zeros.py
1869. Longer Contiguous Segments of Ones than Zeros.py
191. Number of 1 Bits.py
191. Number of 1 Bits.py
2. Add Two Numbers.py
2. Add Two Numbers.py
20. Valid Parentheses.py
20. Valid Parentheses.py
200. Number of Islands.py
200. Number of Islands.py
202. Happy Number.py
202. Happy Number.py
203. Remove Linked List Elements.py
203. Remove Linked List Elements.py
206. Reverse Linked List.py
206. Reverse Linked List.py
207. Course Schedule.py
207. Course Schedule.py
2078. Two Furthest Houses With Different Colors
2078. Two Furthest Houses With Different Colors
21. Merge Two Sorted Lists.py
21. Merge Two Sorted Lists.py
214. Shortest Palindrome.py
214. Shortest Palindrome.py
215. Kth Largest Element in an Array.py
215. Kth Largest Element in an Array.py
223. Rectangle Area.py
223. Rectangle Area.py
225. Implement Stack using Queues.py
225. Implement Stack using Queues.py
228. Summary Ranges.py
228. Summary Ranges.py
229. Majority Element II.py
229. Majority Element II.py
23. Merge k Sorted Lists.py
23. Merge k Sorted Lists.py
231. Power of Two.py
231. Power of Two.py
232. Implement Queue using Stacks.py
232. Implement Queue using Stacks.py
2325. Decode the Message
2325. Decode the Message
238. Product of Array Except Self.py
238. Product of Array Except Self.py
24. Swap Nodes in Pairs.py
24. Swap Nodes in Pairs.py
240. Search a 2D Matrix II.py
240. Search a 2D Matrix II.py
242. Valid Anagram.py
242. Valid Anagram.py
242. Valid Anagram.rs
242. Valid Anagram.rs
258. Add Digits.py
258. Add Digits.py
26. Remove Duplicates from Sorted Array.rs
26. Remove Duplicates from Sorted Array.rs
268. Missing Number.py
268. Missing Number.py
27. Remove Element.py
27. Remove Element.py
28. Implement strStr().py
28. Implement strStr().py
2810. Faulty Keyboard
2810. Faulty Keyboard
283. Move Zeroes.py
283. Move Zeroes.py
283. Move Zeroes.rs
283. Move Zeroes.rs
287. Find the Duplicate Number.py
287. Find the Duplicate Number.py
2915. Length of the Longest Subsequence That Sums to Target
2915. Length of the Longest Subsequence That Sums to Target
3. Longest Substring Without Repeating Characters.py
3. Longest Substring Without Repeating Characters.py
316. Remove Duplicate Letters.py
316. Remove Duplicate Letters.py
326. Power of Three.py
326. Power of Three.py
326. Power of Three.rs
326. Power of Three.rs
328. Odd Even Linked List.py
328. Odd Even Linked List.py
33. Search in Rotated Sorted Array.py
33. Search in Rotated Sorted Array.py
332. Reconstruct Itinerary.py
332. Reconstruct Itinerary.py
338. Counting Bits.py
338. Counting Bits.py
343. Integer Break.py
343. Integer Break.py
344. Reverse String.py
344. Reverse String.py
View all files
Repository files navigation
README
More
items
LeetCode
[Python] Study algorithm in LeetCode
About
[Python] Study algorithm in LeetCode
Resources
Readme
Activity
Stars
2
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.