Recursion-Subsequences

I am getting output with terms in reverse order . How to handle this ?

hey @vaishnavtannu the place where you are printing “out” don’t print it instead store them in a vector of string and then print the vector elements in reverse order inside main function.

https://ide.codingblocks.com/s/173299 I am getting error: reference to ‘count’ is ambiguous

@vaishnavtannu count is an function under using namespace std so you cannot name it globally,by the way in your code you dont have to keep a count at all just store strings in the vector then your count will be equal to vec.size() which you can write inside main function.do it and you are good to go.
still if you faces any problem ask me else please mark this doubt as resolved.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.