LIBSYS (India) interview question

Write the code for the following sequence 5 543 54321

Interview Answer

Anonymous

28 Feb 2018

I wrote the code using 2 loop and 3 variables. He asked me to rewrite it using only 2 variables and I did so