https://github.com/ankitamungalpara/leetcode-solutions
This repository provides Python solutions for a range of LeetCode problems, focusing on clarity and efficiency. Each solution is designed to improve coding skills and strengthen problem-solving abilities.
https://github.com/ankitamungalpara/leetcode-solutions
array binary-search hashmap leetcode-solutions linked-list pointers python3 stack string
Last synced: 10 months ago
JSON representation
This repository provides Python solutions for a range of LeetCode problems, focusing on clarity and efficiency. Each solution is designed to improve coding skills and strengthen problem-solving abilities.
- Host: GitHub
- URL: https://github.com/ankitamungalpara/leetcode-solutions
- Owner: AnkitaMungalpara
- Created: 2024-03-24T18:52:08.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-10T19:50:32.000Z (about 1 year ago)
- Last Synced: 2025-01-09T09:20:34.351Z (12 months ago)
- Topics: array, binary-search, hashmap, leetcode-solutions, linked-list, pointers, python3, stack, string
- Language: Python
- Homepage:
- Size: 338 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LeetCode Solutions Repository
This repository contains solutions to various LeetCode problems, all implemented in `Python` programming language. Each solution is built to be efficient and easy to understand, helping to improve coding skills and problem-solving techniques.
Sr. No.
LeetCode Problem
GitHub Link
Topics
1
33. Search in Rotated Sorted Array
Solution
2
12. Integer to Roman
Solution
3
274. H-Index
Solution
4
88. Merge Sorted Array
Solution
5
27. Remove Element
Solution
6
121. Best Time to Buy and Sell Stock
Solution
7
122. Best Time to Buy and Sell Stock II
Solution
8
55. Jump Game
Solution
9
26. Remove Duplicates from Sorted Array
Solution
10
238. Product of Array Except Self
Solution
11
134. Gas Station
Solution
12
80. Remove Duplicates from Sorted Array II
Solution
13
13. Roman to Integer
Solution
14
58. Length of Last Word
Solution
15
14. Longest Common Prefix
Solution
16
151. Reverse Words in a String
Solution
17
125. Valid Palindrome
Solution
18
28. Find the Index of the First Occurrence in a String
Solution
19
392. Is Subsequence
Solution
20
167. Two Sum II - Input Array Is Sorted
Solution
21
11. Container With Most Water
Solution
22
15. 3Sum
Solution
23
209. Minimum Size Subarray Sum
Solution
24
3. Longest Substring Without Repeating Characters
Solution
25
383. Ransom Note
Solution
26
205. Isomorphic Strings
Solution
27
290. Word Pattern
Solution
28
316. Remove Duplicate Letters
Solution
29
1081. Smallest Subsequence of Distinct Characters
Solution
30
697. Degree of an Array
Solution
31
39. Combination Sum
Solution
32
583. Delete Operation for Two Strings
Solution
33
46. Permutations
Solution
34
5. Longest Palindromic Substring
Solution
35
56. Merge Intervals
Solution
36
75. Sort Colors
Solution
37
215. Kth Largest Element in an Array
Solution
38
206. Reverse Linked List
Solution
39
283. Move Zeroes
Solution
40
518. Coin Change II
Solution
41
394. Decode String
Solution
42
1456. Maximum Number of Vowels in a Substring of Given Length
Solution
43
1732. Find the Highest Altitude
Solution
44
1004. Max Consecutive Ones III
Solution
45
724. Find Pivot Index
Solution
46
2215. Find the Difference of Two Arrays
Solution
47
2352. Equal Row and Column Pairs
Solution
48
1207. Unique Number of Occurrences
Solution
49
22. Generate Parentheses
Solution
50
202. Happy Number
Solution
51
53. Maximum Subarray
Solution
52
219. Contains Duplicate II
Solution
53
128. Longest Consecutive Sequence
Solution
54
153. Find Minimum in Rotated Sorted Array
Solution
55
162. Find Peak Element
Solution
56
148. Sort List
Solution
57
131. Palindrome Partitioning
Solution
58
648. Replace Words
Solution
59
658. Find K Closest Elements
Solution
60
1492. The kth Factor of n
Solution
61
1143. Longest Common Subsequence
Solution
62
226. Invert Binary Tree
Solution
63
2542. Maximum Subsequence Score
Solution
64
101. Symmetric Tree
Solution
65
3355. Zero Array Transformation I
Solution
66
2300. Successful Pairs of Spells and Potions
Solution