As a request, Anyone generate all beautiful strings of string aabbc

problem code : BEAUTYSTR
problem link : Beautiful Strings Practice Coding Problem - CodeChef
please as a request,
generate all 17 beautiful strings of string aabbc , totally 18 - 1 = 17 strings
for my understanding purpose.

@gangsta777
here u go : -
a
b
c
aa
ab
ac
bb
bc
aab
aac
abb
bbc
abc
aabb
aabc
abbc
aabbc

1 Like

Thank you friend, I got it
:+1: