Skip to content
TutorialCup
  • Home
  • Tutorials
    • C
    • C++
    • DBMS
    • Java
    • Python
    • SQL
    • Testing
    • GitHub
    • Spring Boot
    • R
    • JavaScript
  • Interviews
    • Technical Interview Questions
    • Interview Questions

TutorialCup

  • Home
  • Tutorials
    • C
    • C++
    • DBMS
    • Java
    • Python
    • SQL
    • Testing
    • GitHub
    • Spring Boot
    • R
    • JavaScript
  • Interviews
    • Technical Interview Questions
    • Interview Questions

Excel Sheet Column Title Leetcode Solution

Problem Statement In this problem a positive integer is given which represents a column number of an Excel sheet, we have to return its corresponding column title as appear in an Excel sheet. Example #1 28 “AB” #2 701 “ZY” Approach This problem is the reverse of the problem in …

Read moreExcel Sheet Column Title Leetcode Solution

Categories LeetCode Solutions Tags Adobe, Easy, Google, Math, Number System

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 …

Read moreExcel Sheet Column Number Leetcode Solution

Categories LeetCode Solutions Tags Easy, Math, Microsoft, Number System

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 …

Read moreConvert Integer to the Sum of Two No-Zero Integers Leetcode Solution

Categories LeetCode Solutions Tags Easy, HRT, Math

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 …

Read moreMaximum 69 Number Leetcode Solution

Categories LeetCode Solutions Tags Easy, HRT, Math

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 …

Read moreDistribute Candies to People Leetcode Solution

Categories LeetCode Solutions Tags Binary Search, Easy, Math

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 , …

Read moreValid Boomerang Leetcode Solution

Categories LeetCode Solutions Tags Easy, Google, Math

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 …

Read moreConstruct the Rectangle Leetcode Solution

Categories LeetCode Solutions Tags Easy, Math

Count Odd Numbers in an Interval Range Leetcode Solution

Problem Statement In this problem, we are given two non-negative integers low and high. We have to find how many odd numbers are there in the given interval range [ low, high ]. Example low = 3, high = 7 3 Explanation: The odd numbers between 3 and 7 are …

Read moreCount Odd Numbers in an Interval Range Leetcode Solution

Categories LeetCode Solutions Tags Easy, Math, Microsoft

Subtract the Product and Sum of Digits of an Integer Leetcode Solution

Problem Statement In this problem, we need to find the difference between the product of digits and the sum of digits of a given positive integer. Example 1234 14 Explanation: Product = 4 * 3 * 2 * 1 = 24 and Sum = 4 + 3 + 2  + …

Read moreSubtract the Product and Sum of Digits of an Integer Leetcode Solution

Categories LeetCode Solutions Tags Cisco, Easy, Google, Math, Uber

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 …

Read moreBase 7 Leetcode Solution

Categories LeetCode Solutions Tags Bloomberg, Easy, Garena, Math
Post navigation
Older posts
1 2 … 8 Next →

Search




© TutorialCup 2021 | Feeds | Privacy Policy | Terms | Contact Us | Linkedin | About Us
Scroll back to top