Leetcode problem: 343. Integer Break
Description: Given an integer n, break it into the sum of k positive integers, where k >= 2, and maximize the product of those […]
Description: Given an integer n, break it into the sum of k positive integers, where k >= 2, and maximize the product of those […]
Description: Given an array of integers nums containing n + 1 integers where each integer is in the range [1, n] inclusive. There is only one repeated
Description: You are given an integer array nums where the largest integer is unique. Determine whether the largest element in the array is at
Given an m x n matrix, return true if the matrix is Toeplitz. Otherwise, return false. A matrix is Toeplitz if every diagonal from top-left to bottom-right
Description: A sentence is a string of single-space separated words where each word consists only of lowercase letters. A word is uncommon if it
Description: In a string s of lowercase letters, these letters form consecutive groups of the same character. For example, a string like s
Description: There is a robot starting at the position (0, 0), the origin, on a 2D plane. Given a sequence of
Description: Given an integer number n, return the difference between the product of its digits and the sum of its digits.
Description: You are given a 0-indexed binary string s having an even length. A string is beautiful if it’s possible to partition it into one or
Description: You have a bomb to defuse, and your time is running out! Your informer will provide you with a circular array code of