Closed NITIN23329 closed 3 years ago
problem : https://leetcode.com/problems/minimum-cost-tree-from-leaf-values/ O(n^2) solution : https://github.com/NITIN23329/LeetCode/blob/6fdbec0ad1101b9359c4f6eac536ea2a61e89a6b/Trees/MinimumCostTreeFromLeafValue.java#L1
Solved 👍 https://github.com/NITIN23329/LeetCode/blob/6f2e609a7f058add38be4f41ed3246dc23ef4411/dynamicProgramming/MinimumCostTreeValue.java#L1
problem : https://leetcode.com/problems/minimum-cost-tree-from-leaf-values/ O(n^2) solution : https://github.com/NITIN23329/LeetCode/blob/6fdbec0ad1101b9359c4f6eac536ea2a61e89a6b/Trees/MinimumCostTreeFromLeafValue.java#L1