find the minimum number of swaps required to make a string as symmetry string.if already then print 'symmetric'if not possibl -1 | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

find the minimum number of swaps required to make a string as symmetry string.if already then print 'symmetric'if not possibl -1

Like: abab abba

5th May 2021, 6:50 PM
Amrita K Sinngh
2 Réponses
0
Have u solved?
6th May 2021, 3:42 PM
Amrita K Sinngh
0
Hii
7th May 2021, 8:34 AM
Kumar Sharma
Kumar Sharma - avatar