Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
In problem statement mentioned TC is O(1) that is different from your TC as you are running loop upto digit length.
Nice question but bro...think carefully we are running a loop of size 3 only because it is mentioned that the number will be only a 3 digit number. Hence TC is O(1). Understood?☺️
@@CodeGenius316 understood 😊
If it helped you then please subscribe 😊
In problem statement mentioned TC is O(1) that is different from your TC as you are running loop upto digit length.
Nice question but bro...think carefully we are running a loop of size 3 only because it is mentioned that the number will be only a 3 digit number. Hence TC is O(1). Understood?☺️
@@CodeGenius316 understood 😊
If it helped you then please subscribe 😊