My Solutions to the 30 day leetcode challenge: April 2020
- Day 1: Single Number
- Day 2: Happy Number
- Day 3: Maximum Subarray
- Day 4: Move Zeroes
- Day 5: Best Time to Buy and Sell Stock II
- Day 6: Group Anagrams
- Day 7: Counting Elements
- Day 8: Middle of the Linked List
- Day 9: Backspace String Compare
- Day 10: Min Stack
- Day 11: Diameter of Binary Tree
- Day 12: Last Stone Weight
- Day 13: Contiguous Array
- Day 14: Perform String Shifts
- Day 15: Product of Array Except Self
- Day 16: Valid Parenthesis String
- Day 17: Number of Islands
- Day 18: Minimum Path Sum
- Day 19: Search in Rotated Sorted Array
- Day 20: Construct Binary Search Tree from Preorder Traversal
- Day 21: Leftmost Column with at Least a One
- Day 22: Subarray Sum Equals K
- Day 23: Bitwise AND of Numbers Range
- Day 24: LRU Cache
- Day 25: Jump Game
- Day 26: Longest Common Subsequence
- Day 27: Maximal Square
- Day 28: First Unique Number
- Day 29: Binary Tree Maximum Path Sum
- Day 30: Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
Copyright © 2020 Dinesh Manajipet
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.