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
Events
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 }}
yashitanamdeo
leetcode
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
leetcode
/
Medium
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
main
Breadcrumbs
leetcode
/
Medium
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
1007. Minimum Domino Rotations For Equal Row.py
1007. Minimum Domino Rotations For Equal Row.py
1010. Pairs of Songs with Total durations divisible by 60.py
1010. Pairs of Songs with Total durations divisible by 60.py
1029. Two City Scheduling.py
1029. Two City Scheduling.py
1041. Robot Bounded In Circle.py
1041. Robot Bounded In Circle.py
1046. Last Stone Weight.py
1046. Last Stone Weight.py
1094. Car Pooling.py
1094. Car Pooling.py
11. Container With Most Water.py
11. Container With Most Water.py
1202. Smallest String With Swaps.py
1202. Smallest String With Swaps.py
1288. Remove Covered Intervals.py
1288. Remove Covered Intervals.py
1291. Sequential Digits.py
1291. Sequential Digits.py
1305. All Elements in Two Binary Search Trees.py
1305. All Elements in Two Binary Search Trees.py
131. Palindrome Partitioning.py
131. Palindrome Partitioning.py
133. Clone Graph.py
133. Clone Graph.py
1396. Design Underground System.py
1396. Design Underground System.py
142. Linked List Cycle II.py
142. Linked List Cycle II.py
148. Sort List.py
148. Sort List.py
1584. Min Cost to Connect All Points.py
1584. Min Cost to Connect All Points.py
1631. Path With Minimum Effort.py
1631. Path With Minimum Effort.py
165. Compare Version Numbers.py
165. Compare Version Numbers.py
1663. Smallest String With A Given Numeric Value.py
1663. Smallest String With A Given Numeric Value.py
1721. Swapping Nodes in a Linked List.py
1721. Swapping Nodes in a Linked List.py
173. Binary Search Tree Iterator.py
173. Binary Search Tree Iterator.py
189. Rotate Array.py
189. Rotate Array.py
211. Design Add and Search Words Data Structure.py
211. Design Add and Search Words Data Structure.py
2177. Find Three Consecutive Integers That Sum to a Given Number.py
2177. Find Three Consecutive Integers That Sum to a Given Number.py
2186. Minimum Number of Steps to Make Two Strings Anagram II.py
2186. Minimum Number of Steps to Make Two Strings Anagram II.py
230. Kth Smallest Element in a BST.py
230. Kth Smallest Element in a BST.py
24. Swap Nodes in Pairs.py
24. Swap Nodes in Pairs.py
284. Peeking Iterator.py
284. Peeking Iterator.py
287. Find the Duplicate Number.py
287. Find the Duplicate Number.py
289. Game of Life.py
289. Game of Life.py
31. Next Permutation.py
31. Next Permutation.py
382. Linked List Random Node.py
382. Linked List Random Node.py
39. Combination Sum.py
39. Combination Sum.py
399. Evaluate Division.py
399. Evaluate Division.py
402. Remove K Digits.py
402. Remove K Digits.py
413. Arithmetic Slices.py
413. Arithmetic Slices.py
421. Maximum XOR of Two Numbers in an Array.py
421. Maximum XOR of Two Numbers in an Array.py
438. Find All Anagrams in a String.py
438. Find All Anagrams in a String.py
452. Minimum Number of Arrows to Burst Balloons.py
452. Minimum Number of Arrows to Burst Balloons.py
454. 4Sum II.py
454. 4Sum II.py
50. Pow(x,n).py
50. Pow(x,n).py
525. Contiguous Array.py
525. Contiguous Array.py
532. K-diff Pairs in an Array.py
532. K-diff Pairs in an Array.py
535. Encode and Decode TinyURL.py
535. Encode and Decode TinyURL.py
538. Convert BST to Greater Tree.py
538. Convert BST to Greater Tree.py
560. Subarray Sum Equals K.py
560. Subarray Sum Equals K.py
567. Permutation in String.py
567. Permutation in String.py
59. Spiral Matrix II.py
59. Spiral Matrix II.py
662. Maximum Width of Binary Tree.py
662. Maximum Width of Binary Tree.py
669. Trim a Binary Search Tree.py
669. Trim a Binary Search Tree.py
701. Insert into a Binary Search Tree.py
701. Insert into a Binary Search Tree.py
74. Search a 2D Matrix.py
74. Search a 2D Matrix.py
740. Delete and Earn.py
740. Delete and Earn.py
763. Partition Labels.py
763. Partition Labels.py
78. Subsets.py
78. Subsets.py
785. Is Graph Bipartite.py
785. Is Graph Bipartite.py
799. Champagne Tower.py
799. Champagne Tower.py
8. String to Integer (atoi).py
8. String to Integer (atoi).py
80. Remove Duplicates from Sorted Array II.py
80. Remove Duplicates from Sorted Array II.py
81. Search in Rotated Sorted Array II.py
81. Search in Rotated Sorted Array II.py
82. Remove Duplicates from Sorted List II.py
82. Remove Duplicates from Sorted List II.py
849. Maximum Distance to Closest Person.py
849. Maximum Distance to Closest Person.py
856. Score of Parentheses.py
856. Score of Parentheses.py
881. Boats to Save People.py
881. Boats to Save People.py
923. 3Sum With Multiplicity.py
923. 3Sum With Multiplicity.py
946. Validate Stack Sequences.py
946. Validate Stack Sequences.py
99. Recover Binary Search Tree.py
99. Recover Binary Search Tree.py
991. Broken Calculator.py
991. Broken Calculator.py
View all files
You can’t perform that action at this time.