Salesforce Aloha 5 hackerrank question for Software Dev at SFO. I was pleasantly surprised by the problem description, not the usual hackerrank incomprehensible muddle. The only material difference from the leetcode question below was to return a sorted list.
https://leetcode.com/problems/different-ways-to-add-parentheses/