I did it differently, I processed the number in chunks of three with a possible remainder of 1 or 2 at the front. Lead to a very obvious implementation but i like your method; it has a cleaner implementation hehe. 🎉
@SHUBHAMJHA-o3g2 ай бұрын
My takeaway was how you can get the digits from the start of the num! dayuuum!