I am sorting the subsequences as mentioned in the problem but it is somehow failing a test case can you figure out whats wrong with my code .
Smart Keypad -1 error
i am not so confident in vector yet and i had already created array in the above code so am i supposed to remove the sort function.
@Vivek-Pandey-2129725577345937
hey vivek here is your working code link - https://ide.codingblocks.com/s/174059
clarity-
a) actually they don’t want to sort all strings .
… let understand this line The letter that appears first in the code should come first
… for example if n=2 then mapping corresponding to 2 is ‘abc’ so u need to make sure that you print a first then b then c that’s all above line concludes. no need to sort.
let me know if you have any doubt