different ways to add parentheses LeetCode Question 1

Published --