I was having doubt in the editorial code,
can you tell me what is the meaning of this line
string ros = duplicateChar(s.substr(1));
and duplicateChar(s) is a recursive function.
I want to know what output this statement will give if i give input “hello”.