https://github.com/rishikanthc/competitive-programming
LeetCode and other stuff
https://github.com/rishikanthc/competitive-programming
Last synced: 19 days ago
JSON representation
LeetCode and other stuff
- Host: GitHub
- URL: https://github.com/rishikanthc/competitive-programming
- Owner: rishikanthc
- Created: 2019-12-22T18:00:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-25T07:04:32.000Z (over 6 years ago)
- Last Synced: 2025-02-14T16:54:21.299Z (over 1 year ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## LeetCode Solutions
This repo holds my solutions for questions on LeetCode. As and when I solve questions, I keep updating this repo with the answers.
The repo is organized based on the question numbers. Each question on LeetCode has a unique number index which is used as the file name. For eg. 983.py is the solution for question 983: [link](https://leetcode.com/problems/minimum-cost-for-tickets/)
The solutions are all in python for now. Each file holds the question in doc string and the code.
The list of questions solved so far:
1. 1025 - [Divisor Game][1025]
2. 121 - [Best time to Buy and Sell Stock][121]
3. 746 - [Min Cost Climbing Stairs][746]
4. 392 - [Is Subsequence][392]
5. 70 - [Climbing tairs][70]
6. 53 - [Maximum Subarray][53]
7. 198 - [House Robber][198]
8. 1277 - [Count Square Submatrices with All Ones][1277]
9. 877 - [Stone Game][877]
10. 1227 - [Airplane Seat Assignment Probability][1227]
11. 983 - [Minimum Cost for Tickets][983]
12. 1048 - [Longest String Chain][1048]
13. 303 - [Range Sum Query][303]
[1025]: https://leetcode.com/problems/divisor-game
[121]: https://leetcode.com/problems/best-time-to-buy-and-sell-stock
[746]: https://leetcode.com/problems/min-cost-climbing-stairs
[392]: https://leetcode.com/problems/is-subsequence
[70]: https://leetcode.com/problems/climbing-stairs
[53]: https://leetcode.com/problems/maximum-subarray
[198]: https://leetcode.com/problems/house-robber
[1277]:https://leetcode.com/problems/count-square-submatrices-with-all-ones
[877]: https://leetcode.com/problems/stone-game
[1227]: https://leetcode.com/problems/airplane-seat-assignment-probability
[983]: https://leetcode.com/problems/minimum-cost-for-tickets
[1048]: https://leetcode.com/problems/longest-string-chain
[303]: https://leetcode.com/problems/range-sum-query-immutable/