Solve the following problem:

- generate-parentheses
Solve the following problem:

- rotate-image
Solve the following problem:

- best-time-to-buy-and-sell-stock