sachin shukla·Sep 11, 2020DAY 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.
sachin shukla·Sep 11, 2020Day 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…
sachin shukla·Sep 9, 2020Day 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.
sachin shukla·Sep 8, 2020Day 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…
sachin shukla·Sep 8, 2020Day 7 of LeetCode September Challenge !Given a pattern and a string str, find if str follows the same pattern.
sachin shukla·Sep 8, 2020Day 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.)
sachin shukla·Sep 5, 2020Day 5 of LeetCode September Challenge !Given two binary search trees root1 and root2.
sachin shukla·Sep 5, 2020Day 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…
sachin shukla·Sep 5, 2020Day 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…
sachin shukla·Sep 2, 2020Day 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…