Given an integer n, break it into the sum of k positive integers, where k greater than equal to 2, and maximize the product of those integers.
Return the maximum product you can get.
Example 1:
Input: n = 2
Output: 1
Explanation: 2 = 1 + 1, 1 × 1 = 1.
Example 2:
Input: n = 10
Output: 36
Explanation: 10 = 3 + 3 + 4, 3 × 3 × 4 = 36.
Nesta página do site você pode assistir ao vídeo on-line Leetcode Question 343 "Integer Break" in Java duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Ghumman Tech 28 Agosto 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 211 vezes e gostou 3 espectadores. Boa visualização!