News

📘 100 Days of Coding – Day 64 🔹 Topic: Counting Digits in a Number (Java) Key Takeaways: Learned how to count the number of digits in an integer using loops. Understood how to handle the ...
Start with state (0,0,0) and count all valid number till we reach number of steps equals to 10n. 3. This problem can also be solved using a dynamic programming approach and some knowledge of ...
// I have to create a function which basically make substring and check whether its last digit is divisible by substring or not. and, there is a count variable, if substring is divisible then we have ...