Pls look into the code and revert back asap


i am unable to reverse the output which need to be printed

@Madhavendra-Gupta-2240591552663161 i think you have given code link of another question, send me code of this question.