Given a string, return a new string with the reversed
Examples:
reverse('hello') === 'olleh' reverse('Greetings!') === '!sgniteerG'
Here 3 solutions for thi…
Parentheses strings are strings containing only the characters '(' and ')'. A parentheses string is considered balanced when its opening parentheses align with its closi…