Bright Data Interview Question

find matches paranthesis types in a string