I am guessing
Since string and number are different thing in Java (the language of Kodular), it has a different reading.
Congratulations @pavi2410 and @WatermelonIce.
Thanks @Deepanshu_Arya for creating this challenge and @pavi2410 for telling us about the most efficient logic.
Now we can show-off in our Computer science & Maths class
3 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
Reference:
While explaining the logic to my friends I found out that there is a little problem in it.
Logic given by @pavi2410 and later used by me too will not return correct value for 0 which makes mine and pavi solutions invalid and @WatermelonIce the real winner.
3 Likes
Thanks! But I think thatâs doesnât matter, as long as we have fun
3 Likes
Yes, winning and losing does not matter but learning new things does.
3 Likes