Brackets { } | Sololearn: Learn to code for FREE!

+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?

6/30/2019 8:36:14 AM

Alex

2 Answers

New Answer

+3

Please, speak English.

+3

I've solved this problem by myself))) This code is to understand how to do it https://code.sololearn.com/ce8PoPaU0WW3/?ref=app