Skip to content
VasavyaSPublic

About

My Leetcode Solutions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

375 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 LeetCode Solutions

My LeetCode solutions, automatically synced from LeetCode!

📊 Statistics

  • Total Problems Solved: 170
  • Easy: 42 🟢
  • Medium: 116 🟡
  • Hard: 12 🔴

📝 Problems

Problem Difficulty Language Date
100. Same Tree 🟢 Easy python3 2026-02-22
110. Balanced Binary Tree 🟢 Easy python3 2026-02-19
118. Pascal's Triangle 🟢 Easy python3 2026-01-31
118. Pascal's Triangle 🟢 Easy python3 2026-02-23
125. Valid Palindrome 🟢 Easy python3 2026-01-13
125. Valid Palindrome 🟢 Easy python3 2026-02-01
1266. Minimum Time Visiting All Points 🟢 Easy python3 2026-02-02
13. Roman to Integer 🟢 Easy python3 2026-01-31
14. Longest Common Prefix 🟢 Easy python3 2026-01-31
1475. Final Prices With a Special Discount in a Shop 🟢 Easy python3 2026-05-10
169. Majority Element 🟢 Easy python3 2026-02-01
1752. Check if Array Is Sorted and Rotated 🟢 Easy python3 2026-02-02
1752. Check if Array Is Sorted and Rotated 🟢 Easy python3 2026-02-02
1929. Concatenation of Array 🟢 Easy python3 2026-02-02
20. Valid Parentheses 🟢 Easy python3 2026-01-31
206. Reverse Linked List 🟢 Easy python3 2026-02-01
21. Merge Two Sorted Lists 🟢 Easy python3 2026-01-31
21. Merge Two Sorted Lists 🟢 Easy python3 2026-05-25
217. Contains Duplicate 🟢 Easy python3 2026-01-11
219. Contains Duplicate II 🟢 Easy python3 2026-02-19
231. Power of Two 🟢 Easy python3 2026-02-22
242. Valid Anagram 🟢 Easy python3 2026-01-11
242. Valid Anagram 🟢 Easy python3 2026-02-01
252. Meeting Rooms 🟢 Easy python3 2026-05-13
26. Remove Duplicates from Sorted Array 🟢 Easy python3 2026-01-31
283. Move Zeroes 🟢 Easy python3 2026-02-01
346. Moving Average from Data Stream 🟢 Easy python3 2026-02-01
359. Logger Rate Limiter 🟢 Easy python3 2026-05-12
408. Valid Word Abbreviation 🟢 Easy python3 2026-02-01
415. Add Strings 🟢 Easy python3 2026-02-01
496. Next Greater Element I 🟢 Easy python3 2026-02-19
509. Fibonacci Number 🟢 Easy python3 2026-03-02
543. Diameter of Binary Tree 🟢 Easy python3 2026-02-02
605. Can Place Flowers 🟢 Easy python3 2026-04-18
67. Add Binary 🟢 Easy python3 2026-02-19
680. Valid Palindrome II 🟢 Easy python3 2026-02-02
70. Climbing Stairs 🟢 Easy python3 2026-01-31
824. Goat Latin 🟢 Easy python3 2026-02-02
876. Middle of the Linked List 🟢 Easy python3 2026-02-02
888. Fair Candy Swap 🟢 Easy python3 2026-02-02
933. Number of Recent Calls 🟢 Easy python3 2026-02-06
977. Squares of a Sorted Array 🟢 Easy python3 2026-05-10
1004. Max Consecutive Ones III 🟡 Medium python3 2026-02-22
102. Binary Tree Level Order Traversal 🟡 Medium python3 2026-05-23
1091. Shortest Path in Binary Matrix 🟡 Medium python3 2026-02-22
11. Container With Most Water 🟡 Medium python3 2026-02-26
1101. The Earliest Moment When Everyone Become Friends 🟡 Medium python3 2026-05-20
1101. The Earliest Moment When Everyone Become Friends 🟡 Medium python3 2026-05-20
1101. The Earliest Moment When Everyone Become Friends 🟡 Medium python3 2026-05-20
12. Integer to Roman 🟡 Medium python3 2026-02-06
12. Integer to Roman 🟡 Medium python3 2026-05-25
1209. Remove All Adjacent Duplicates in String II 🟡 Medium python3 2026-01-21
1219. Path with Maximum Gold 🟡 Medium python3 2026-01-23
122. Best Time to Buy and Sell Stock II 🟡 Medium python3 2026-03-02
1249. Minimum Remove to Make Valid Parentheses 🟡 Medium python3 2026-02-22
129. Sum Root to Leaf Numbers 🟡 Medium python3 2026-02-04
138. Copy List with Random Pointer 🟡 Medium python3 2026-02-10
1382. Balance a Binary Search Tree 🟡 Medium python3 2026-02-22
143. Reorder List 🟡 Medium python3 2026-02-26
1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit 🟡 Medium python3 2026-05-19
146. LRU Cache 🟡 Medium python3 2026-05-24
151. Reverse Words in a String 🟡 Medium python3 2026-02-04
155. Min Stack 🟡 Medium python3 2026-05-25
1570. Dot Product of Two Sparse Vectors 🟡 Medium python3 2026-02-22
162. Find Peak Element 🟡 Medium python3 2026-02-05
1653. Minimum Deletions to Make String Balanced 🟡 Medium python3 2026-02-23
167. Two Sum II - Input Array Is Sorted 🟡 Medium python3 2026-01-13
17. Letter Combinations of a Phone Number 🟡 Medium python3 2026-02-03
1762. Buildings With an Ocean View 🟡 Medium python3 2026-02-26
1868. Product of Two Run-Length Encoded Arrays 🟡 Medium python3 2026-02-27
199. Binary Tree Right Side View 🟡 Medium python3 2026-02-05
2. Add Two Numbers 🟡 Medium python3 2026-02-02
200. Number of Islands 🟡 Medium python3 2026-02-05
2043. Simple Bank System 🟡 Medium python3 2026-02-23
2043. Simple Bank System 🟡 Medium python3 2026-02-23
2086. Minimum Number of Food Buckets to Feed the Hamsters 🟡 Medium python3 2026-05-04
2086. Minimum Number of Food Buckets to Feed the Hamsters 🟡 Medium python3 2026-05-04
210. Course Schedule II 🟡 Medium python3 2026-02-05
215. Kth Largest Element in an Array 🟡 Medium python3 2026-02-05
22. Generate Parentheses 🟡 Medium python3 2026-02-03
2265. Count Nodes Equal to Average of Subtree 🟡 Medium python3 2026-02-27
230. Kth Smallest Element in a BST 🟡 Medium python3 2026-05-18
236. Lowest Common Ancestor of a Binary Tree 🟡 Medium python3 2026-02-05
238. Product of Array Except Self 🟡 Medium python3 2026-01-11
238. Product of Array Except Self 🟡 Medium python3 2026-02-05
238. Product of Array Except Self 🟡 Medium python3 2026-02-05
2380. Time Needed to Rearrange a Binary String 🟡 Medium python3 2026-01-22
2380. Time Needed to Rearrange a Binary String 🟡 Medium python3 2026-01-22
253. Meeting Rooms II 🟡 Medium python3 2026-02-20
253. Meeting Rooms II 🟡 Medium python3 2026-02-20
2831. Find the Longest Equal Subarray 🟡 Medium python3 2026-05-03
287. Find the Duplicate Number 🟡 Medium python3 2026-02-06
3. Longest Substring Without Repeating Characters 🟡 Medium python3 2026-03-01
300. Longest Increasing Subsequence 🟡 Medium python3 2026-02-06
31. Next Permutation 🟡 Medium python3 2026-02-27
311. Sparse Matrix Multiplication 🟡 Medium python3 2026-02-09
314. Binary Tree Vertical Order Traversal 🟡 Medium python3 2026-02-09
3212. Count Submatrices With Equal Frequency of X and Y 🟡 Medium python3 2026-03-19
322. Coin Change 🟡 Medium python3 2026-02-20
33. Search in Rotated Sorted Array 🟡 Medium python3 2026-02-26
339. Nested List Weight Sum 🟡 Medium python3 2026-02-09
34. Find First and Last Position of Element in Sorted Array 🟡 Medium python3 2026-02-03
34. Find First and Last Position of Element in Sorted Array 🟡 Medium python3 2026-03-02
347. Top K Frequent Elements 🟡 Medium python3 2026-02-09
348. Design Tic-Tac-Toe 🟡 Medium python3 2026-05-27
355. Design Twitter 🟡 Medium python3 2026-01-11
3584. Maximum Product of First and Last Elements of a Subsequence 🟡 Medium python3 2026-06-05
3634. Minimum Removals to Balance Array 🟡 Medium python3 2026-02-24
3634. Minimum Removals to Balance Array 🟡 Medium python3 2026-02-24
364. Nested List Weight Sum II 🟡 Medium python3 2026-04-18
378. Kth Smallest Element in a Sorted Matrix 🟡 Medium python3 2026-02-10
380. Insert Delete GetRandom O(1) 🟡 Medium python3 2026-05-26
3Sum 🟡 Medium python3 2026-02-10
419. Battleships in a Board 🟡 Medium python3 2026-02-10
419. Battleships in a Board 🟡 Medium python3 2026-02-23
426. Convert Binary Search Tree to Sorted Doubly Linked List 🟡 Medium python3 2026-02-20
427. Construct Quad Tree 🟡 Medium python3 2026-05-10
43. Multiply Strings 🟡 Medium python3 2026-05-04
443. String Compression 🟡 Medium python3 2026-02-20
443. String Compression 🟡 Medium python3 2026-02-20
443. String Compression 🟡 Medium python3 2026-05-25
46. Permutations 🟡 Medium python3 2026-02-10
49. Group Anagrams 🟡 Medium python3 2026-01-11
49. Group Anagrams 🟡 Medium python3 2026-02-04
4Sum 🟡 Medium python3 2026-02-03
5. Longest Palindromic Substring 🟡 Medium python3 2026-02-03
50. Pow(x, n) 🟡 Medium python3 2026-02-04
528. Random Pick with Weight 🟡 Medium python3 2026-02-21
545. Boundary of Binary Tree 🟡 Medium python3 2026-02-22
55. Jump Game 🟡 Medium python3 2026-02-19
554. Brick Wall 🟡 Medium python3 2026-06-08
56. Merge Intervals 🟡 Medium python3 2026-02-05
560. Subarray Sum Equals K 🟡 Medium python3 2026-02-20
560. Subarray Sum Equals K 🟡 Medium python3 2026-02-20
57. Insert Interval 🟡 Medium python3 2026-02-19
636. Exclusive Time of Functions 🟡 Medium python3 2026-02-21
64. Minimum Path Sum 🟡 Medium python3 2026-05-14
647. Palindromic Substrings 🟡 Medium python3 2026-02-21
670. Maximum Swap 🟡 Medium python3 2026-02-27
692. Top K Frequent Words 🟡 Medium python3 2026-05-15
692. Top K Frequent Words 🟡 Medium python3 2026-05-26
71. Simplify Path 🟡 Medium python3 2026-02-20
743. Network Delay Time 🟡 Medium python3 2026-01-26
77. Combinations 🟡 Medium python3 2026-02-22
77. Combinations 🟡 Medium python3 2026-02-22
791. Custom Sort String 🟡 Medium python3 2026-02-26
8. String to Integer (atoi) 🟡 Medium python3 2026-02-03
853. Car Fleet 🟡 Medium python3 2026-05-27
863. All Nodes Distance K in Binary Tree 🟡 Medium python3 2026-02-21
92. Reverse Linked List II 🟡 Medium python3 2026-02-22
93. Restore IP Addresses 🟡 Medium python3 2026-05-04
934. Shortest Bridge 🟡 Medium python3 2026-01-28
939. Minimum Area Rectangle 🟡 Medium python3 2026-05-27
973. K Closest Points to Origin 🟡 Medium python3 2026-02-21
986. Interval List Intersections 🟡 Medium python3 2026-02-26
Unknown Problem 🟡 Medium python3 2026-02-02
Unknown Problem 🟡 Medium python3 2026-02-03
Unknown Problem 🟡 Medium python3 2026-02-04
149. Max Points on a Line 🔴 Hard python3 2026-05-27
239. Sliding Window Maximum 🔴 Hard python3 2026-05-26
2858. Minimum Edge Reversals So Every Node Is Reachable 🔴 Hard python3 2026-05-20
2858. Minimum Edge Reversals So Every Node Is Reachable 🔴 Hard python3 2026-05-20
305. Number of Islands II 🔴 Hard python3 2026-05-20
317. Shortest Distance from All Buildings 🔴 Hard python3 2026-05-27
4. Median of Two Sorted Arrays 🔴 Hard plaintext 2026-05-22
41. First Missing Positive 🔴 Hard python3 2026-03-02
42. Trapping Rain Water 🔴 Hard python3 2026-02-24
489. Robot Room Cleaner 🔴 Hard python3 2026-04-20
827. Making A Large Island 🔴 Hard python3 2026-03-01
987. Vertical Order Traversal of a Binary Tree 🔴 Hard python3 2026-02-24

Generated automatically by LeetCode to GitHub Extension

About

My Leetcode Solutions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages