i am getting wrong output,
please look at the code…
I am getting wrong output,
u need to print it in lexographic order
so take a global vecor
add all elements sort it before printing
please mention the necessary changes in the code
could u try to make these update or i do it for u ?
atleast try once if it is problem for u ask me then
Great good luck
happy coding