I have added the solution to POTD of 19 October 2024
Fixes: #41
Use [x] to represent a checked (ticked) box.✅
Use [ ] to represent an unchecked box.❌
Type of Change
[ ] Question Added
[X] Solution Added
[ ] Other (please specify):
How to Test
Provide a brief description of how to test your changes. Include steps, commands, or screenshots if necessary.
run the code in vs code
enter two value respectively n and k
you will get 1 or 0 as output
Checklist
[x ] I have performed a self-review of my code.
Additional Notes
Please add any other information that is relevant to this pull request, including potential risks, alternative solutions considered, or future improvements.
Description
I have added the solution to POTD of 19 October 2024
Fixes: #41
Use [x] to represent a checked (ticked) box.✅ Use [ ] to represent an unchecked box.❌
Type of Change
How to Test
Provide a brief description of how to test your changes. Include steps, commands, or screenshots if necessary.
Checklist
Additional Notes
Please add any other information that is relevant to this pull request, including potential risks, alternative solutions considered, or future improvements.