here is my code please have a look at that
Its is asking to print in reverse order
just put the resultant subsequence in a vector and then in int main sort it in reverse order
then print it
Ok let me try if it works I will let you know
okay sir. let me know in case of issues
Not able to print desired output if you can help this is my code link https://ide.codingblocks.com/s/213191
You did sorting which is wrong , I corrected it to reverse so my doubt is resolved