Why am I getting run time error in Ugly numbers?
Runtime error - Ugly numbers
@Avi-Kasliwal-315786729062203 n can be upto 10000 but you are taking your count upto only 1001, increase your count limit and your code will work fine.
Why am I getting run time error in Ugly numbers?
@Avi-Kasliwal-315786729062203 n can be upto 10000 but you are taking your count upto only 1001, increase your count limit and your code will work fine.