## Excel Sheet Column Number Leetcode Solution

Problem Statement In this problem we are given a column title as appear in an Excel sheet, we have to return the column number that corresponds to that column title in Excel as shown below. Example #1 “AB” 28 #2 “ZY” 701 Approach To find column number for a particular …

## Convert Integer to the Sum of Two No-Zero Integers Leetcode Solution

The problem Convert Integer to the Sum of Two No-Zero Integers Leetcode Solution asked us to partition the given integer. We should partition the given integer into two numbers. There is a constraint imposed on these two integers. These two integers should not contain the digit 0. For a better …

## Maximum 69 Number Leetcode Solution

Problem Statement In this problem, we are given a number made up of digits 6 or 9. We can replace one of a digit of this number and change this to another digit. i.e. we can replace a 6 to 9 or we can replace a 9 to 6. We …

## Distribute Candies to People Leetcode Solution

Problem Statement In this problem, we are given two numbers candies and num_people. The first number candies is the number of candies we have. num_people shows the number of person in which we have to distribute the candies. The rule of candies distribution is: We start from the leftmost person …

## Valid Boomerang Leetcode Solution

Problem Statement In this problem, we are given a set of three points in an X-Y 2-D plane. We need to return whether they form a boomerang or not, that is whether they are any three distinct points and do not form a straight line. Example Points = {{1 , …

## Construct the Rectangle Leetcode Solution

The problem Construct the Rectangle Leetcode Solution states that you are a web designer. And you are given a task to design a web page with some pre-defined area. There are some constraints imposed upon the design. The length of the web page needs to be greater or equal to …

## Base 7 Leetcode Solution

The problem Base 7 Leetcode Solution, asks us to convert a number into a base 7 number. The given number can be negative or positive until 10 million, in both directions on the number line. The problem seems simple and is a simple conversion of a decimal number into a …