samedi 10 août 2019

How to solve spiral matrix problem of string

i had read print spiral form of interger if i want to do with string how to do this

if i will input in matrix where n=2 m= 4 and string size is k= 3 and string s = abc

input 2 4 3 abc

output abca bacb

Aucun commentaire:

Enregistrer un commentaire