BYTERACE-CAB help

Can someone please explain this problem? Is it similar to the lexicographical string of length N and sum K?
my sol:- CodeChef: Practical coding for everyone
prob:- CodeChef: Practical coding for everyone

1 Like