Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
devMEremenko
Coding-Challenges
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
Coding-Challenges
/
Python
/
LeetCode
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
Coding-Challenges
/
Python
/
LeetCode
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
.vscode/
.ropeproject
.vscode/
.ropeproject
!860. Lemonade Change.py
!860. Lemonade Change.py
1. Two Sum.py
1. Two Sum.py
104. Maximum Depth of Binary Tree.py
104. Maximum Depth of Binary Tree.py
107. Binary Tree Level Order Traversal II.py
107. Binary Tree Level Order Traversal II.py
108. Convert Sorted Array to Binary Search Tree.py
108. Convert Sorted Array to Binary Search Tree.py
1108. Defanging an IP Address.py
1108. Defanging an IP Address.py
1160. Find Words That Can Be Formed by Characters.py
1160. Find Words That Can Be Formed by Characters.py
13. Roman to Integer.py
13. Roman to Integer.py
136. Single Number.py
136. Single Number.py
139. Word Break.py
139. Word Break.py
141. Linked List Cycle.py
141. Linked List Cycle.py
1431. Kids With the Greatest Number of Candies.py
1431. Kids With the Greatest Number of Candies.py
147. Insertion Sort List.py
147. Insertion Sort List.py
1480. Running Sum of 1d Array.py
1480. Running Sum of 1d Array.py
155. Min Stack.py
155. Min Stack.py
169. Majority Element.py
169. Majority Element.py
171. Excel Sheet Column Number.py
171. Excel Sheet Column Number.py
189. Rotate Array.py
189. Rotate Array.py
20. Valid Parentheses.py
20. Valid Parentheses.py
202. Happy Number.py
202. Happy Number.py
205. Isomorphic Strings.py
205. Isomorphic Strings.py
206. Reverse Linked List.py
206. Reverse Linked List.py
21. Merge Two Sorted Lists.py
21. Merge Two Sorted Lists.py
226. Invert Binary Tree.py
226. Invert Binary Tree.py
237. Delete Node in a Linked List.py
237. Delete Node in a Linked List.py
242. Valid Anagram.py
242. Valid Anagram.py
338. Counting Bits.py
338. Counting Bits.py
392. Is Subsequence.py
392. Is Subsequence.py
404. Sum of Left Leaves.py
404. Sum of Left Leaves.py
448. Find All Numbers Disappeared in an Array.py
448. Find All Numbers Disappeared in an Array.py
455. Assign Cookies.py
455. Assign Cookies.py
461. Hamming Distance.py
461. Hamming Distance.py
463. Island Perimeter.py
463. Island Perimeter.py
492. Construct the Rectangle.py
492. Construct the Rectangle.py
520. Detect Capital.py
520. Detect Capital.py
557. Reverse Words in a String III.py
557. Reverse Words in a String III.py
563. Binary Tree Tilt.py
563. Binary Tree Tilt.py
566. Reshape the Matrix.py
566. Reshape the Matrix.py
572. Subtree of Another Tree.py
572. Subtree of Another Tree.py
58. Length of Last Word.py
58. Length of Last Word.py
589. N-ary Tree Preorder Traversal.py
589. N-ary Tree Preorder Traversal.py
605. Can Place Flowers.py
605. Can Place Flowers.py
606. Construct String from Binary Tree.py
606. Construct String from Binary Tree.py
617. Merge Two Binary Trees.py
617. Merge Two Binary Trees.py
637. Average of Levels in Binary Tree.py
637. Average of Levels in Binary Tree.py
653. Two Sum IV - Input is a BST.py
653. Two Sum IV - Input is a BST.py
665. Non-decreasing Array.py
665. Non-decreasing Array.py
669. Trim a Binary Search Tree.py
669. Trim a Binary Search Tree.py
674. Longest Continuous Increasing Subsequence.py
674. Longest Continuous Increasing Subsequence.py
700. Search in a Binary Search Tree.py
700. Search in a Binary Search Tree.py
703. Kth Largest Element in a Stream.py
703. Kth Largest Element in a Stream.py
705. Design HashSet.py
705. Design HashSet.py
709. To Lower Case.py
709. To Lower Case.py
733. Flood Fill.py
733. Flood Fill.py
746. Min Cost Climbing Stairs.py
746. Min Cost Climbing Stairs.py
771. Jewels and Stones.py
771. Jewels and Stones.py
784. Letter Case Permutation.py
784. Letter Case Permutation.py
852. Peak Index in a Mountain Array.py
852. Peak Index in a Mountain Array.py
876. Middle of the Linked List.py
876. Middle of the Linked List.py
88. Merge Sorted Array.py
88. Merge Sorted Array.py
938. Range Sum of BST.py
938. Range Sum of BST.py
953. Verifying an Alien Dictionary.py
953. Verifying an Alien Dictionary.py
965. Univalued Binary Tree.py
965. Univalued Binary Tree.py
View all files
You can’t perform that action at this time.