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.
Sur cette page du site, vous pouvez voir la vidéo en ligne Leetcode Question 343 "Integer Break" in Java durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Ghumman Tech 28 août 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 211 fois et il a aimé 3 téléspectateurs. Bon visionnage!