Collection of my leetcode solution posts

I ' ll keep editing this post with the posts that I write in the discuss section of different questions.
Also, will post link to this post in my each dicuss posts if someone would like these posts.
The following link contain my solution for that question.
There are a lot of solutions that I have written in discuss section but haven't added here. Will add those soon.
If you find a code that is unreadable that'll probably due to my inexperience in coding. You'll see the improvement in my new coding solutions.

The List Starts from here:
2. Add Two Numbers
6. ZigZag Conversion
13. Roman To Integer
19. Remove Nth Node From End of List
21. Merge Two Sorted Lists
31. Next Permutation
43. Multiply Strings
49. Group Anagrams
54. Spiral Matrix
60. Permutation Sequence
61. Rotate List
66. Plus One
73. Set Matrix Zeroes
82. Remove Duplicates from Sorted List II
94. Binary Tree Inorder Traversal
101. Symmetric Tree
102. Binary Tree Level Order Traversal
103. Binary Tree Zigzag Level Order Traversal
107. Binary Tree Level Order Traversal II
109. Convert Sorted List to Binary Search Tree
110. Balanced Binary Tree
111. Minimum Depth of Binary Tree
112. Path Sum
114. Flatten Binary Tree to Linked List
116. Populating Next Right Pointers in Each Node
117. Populating Next Right Pointers in Each Node II
118. Pascal's Triangle
141. Linked List Cycle
151. Reverse Words in a String
161. One Edit Distance
168. Excel Sheet Column Title
202. Happy Number
222. Count Complete Tree Nodes
226. Invert Binary Tree
231. Power of Two
239. Sliding Window Maximum
249. Group Shifted Strings
257. Binary Tree Paths
268. Missing Number
284. Peeking Iterator
347. Top K Frequent Elements
392. Is Subsequence
404. Sum of Left Leaves
412. Fizz Buzz
429. N-ary Tree Level Order Traversal
452. Minimum Number of Arrows to Burst Balloons
462. Minimum Moves to Equal Array Elements II
468. Validate IP Address
485. Max Consecutive Ones
513. Find Bottom Left Tree Value
515. Find Largest Value in Each Tree Row
559. Maximum Depth of N-ary Tree
581. Shortest Unsorted Continuous Subarray
582. Kill Process
594. Longest Harmonious Subsequence
623. Add One Row to Tree
654. Maximum Binary Tree
658. Find K Closest Elements
662. Maximum Width of Binary Tree
695. Max Area of Island
700. Search in a Binary Search Tree
733. Flood Fill
747. Largest Number At Least Twice of Others
792. Number of Matching Subsequences
821. Shortest Distance to a Character
833. Find And Replace in String
844. Backspace String Compare
848. Shifting Letters
890. Find and Replace Pattern
931. Minimum Falling Path Sum
941. Valid Mountain Array
973. K Closest Points to Origin
980. Unique Paths III
988. Smallest String Starting From Leaf
1048. Longest String Chain
1022. Sum of Root To Leaf Binary Numbers
1041. Robot Bounded In Circle
1161. Maximum Level Sum of a Binary Tree
1229. Meeting Scheduler
1245. Tree Diameter
1249. Minimum Remove to Make Valid Parentheses
1290. Convert Binary Number in a Linked List to Integer
1295. Find Numbers with Even Number of Digits
1299. Replace Elements with Greatest Element on Right Side
1305. All Elements in Two Binary Search Trees
1315. Sum of Nodes with Even-Valued Grandparent
1337. The K Weakest Rows in a Matrix
1470. Shuffle the Array
1492. The kth Factor of n
1496. Path Crossing
1503. Last Moment Before All Ants Fall Out of a Plank
1512. Number of Good Pairs
1513. Number of Substrings With Only 1s
1518. Water Bottles
1525. Number of Good Ways to Split a String
1528. Shuffle String
1609. Even Odd Tree
1706. Where Will the Ball Fall
1758. Minimum Changes To Make Alternating Binary String
1868. Product of Two Run-Length Encoded Arrays

Comments (0)