Write a program for following sequence and analyze complexity of the program 1, 2, 2, 3, 3, 3, ............... 100 (100 times)

Write a program for following sequence and analyze complexity of the program

1, 2, 2, 3, 3, 3, ............... 100 (100 times)

From the Sonali & Janata Bank Officer (IT) October 2023 – Written (MIST) exam, question 3 of 18.

More from this paper