not getting any output.
Mapped string recursion
if you are using string
this is correct way
use push_back() and pop_back()
i hope this helps
if yes hit a like and don’t forgot to mark doubt as resolved 
if you have more doubts regarding this feel free to ask