Fading Coder

One Final Commit for the Last Sprint

Integer Break and Unique Binary Search Trees

Integer Break and Unique Binary Search Trees
343. Integer Break Given a positive integer n, break it into the sum of k positive integers (k >= 2) and maximzie 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 Explana...