DAY 11 Of LeetCode September Challenge !Given an integer array nums, find the contiguous subarray within an array (containing at least one number) which has the largest product.Sep 11, 2020Sep 11, 2020
Day 10 of LeetCode September Challenge !You are playing the following Bulls and Cows game with your friend: You write down a number and ask your friend to guess what the number…Sep 11, 2020Sep 11, 2020
Day 9 of LeetCode September Challenge !Compare two version numbers version1 and version2. If version1 > version2 return 1; if version1 < version2 return -1;otherwise return 0.Sep 9, 2020Sep 9, 2020
Day 8 of LeetCode September Challenge!Given a binary tree, each node has value 0 or 1. Each root-to-leaf path represents a binary number starting with the most significant bit…Sep 8, 2020Sep 8, 2020
Day 7 of LeetCode September Challenge !Given a pattern and a string str, find if str follows the same pattern.Sep 8, 2020Sep 8, 2020
Day 6 of LeetCode September Challenge!Two images A and B are given, represented as binary, square matrices of the same size. (A binary matrix has only 0s and 1s as values.)Sep 8, 2020Sep 8, 2020
Day 5 of LeetCode September Challenge !Given two binary search trees root1 and root2.Sep 5, 2020Sep 5, 2020
Day 4 of LeetCode September Challenge !A string S of lowercase English letters is given. We want to partition this string into as many parts as possible so that each letter…Sep 5, 2020Sep 5, 2020
Day 3 of LeetCode September Challenge !Given a non-empty string check if it can be constructed by taking a substring of it and appending multiple copies of the substring…Sep 5, 2020Sep 5, 2020
Day 2 of LeetCode September Challenge !Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between…Sep 2, 2020Sep 2, 2020