Codes of string

https://ide.codingblocks.com/s/52339
https://hack.codingblocks.com/contests/c/512/346

my code is working fine but showing wrong ans on submission

your output
[aabe, aay, ale, kbe, ky, ]
Correct output
[aabe, aay, ale, kbe, ky]

you are print extra( , ) comma after last element.

1 Like