https://www.geeksforgeeks.org/expression-contains-redundant-bracket-not/