+ 2

Brackets { }

How to delete unnecessary brackets in String line? Example: input {{х}{х{}. need to delete 2 '{'. Output:all possible variants:{x}{x}. {x}x{}. {{x}x} How?

30th Jun 2019, 8:36 AM
Alex
Alex - avatar
2 Answers
+ 3
Please, speak English.
30th Jun 2019, 10:52 AM
Andrea Proone (ilmito106)
Andrea Proone (ilmito106) - avatar
+ 3
I've solved this problem by myself))) This code is to understand how to do it https://code.sololearn.com/ce8PoPaU0WW3/?ref=app
30th Jun 2019, 4:20 PM
Alex
Alex - avatar