DEV Community

varnit rohilla
varnit rohilla

Posted on

Leet code challenge — Number of Steps to Reduce a Number to Zero

Using recursion(not efficient)

Alt Text

Using while loop

Alt Text

Top comments (0)