Recursion Dict Order Larger - Wrong Answer

@abhishekchoudhary
hello abhishek,
a)store all the valid strings in a vector
b) then sort the vector and then print all strings