An open API service indexing awesome lists of open source software.

https://github.com/nikitimi/codewars

Pending test for codewars challenge goes here.
https://github.com/nikitimi/codewars

Last synced: about 1 year ago
JSON representation

Pending test for codewars challenge goes here.

Awesome Lists containing this project

README

          

# Target: Substrings Divisible by Power of 2

Second attempt.

- ✔ Passed Simple and Edge cases.
- ❌ Still having the 15+ length limit.
- ❌ More slower than first attempt.

---

_Thoughts to solve:_

- Use Least Common Multiple (LCM) to break down large number.

First attempt.

- ✔ Passed Simple and Edge cases.
- ❌ Error in 15+ length of string decimal, due to 15 length limit of int, which automatically rounded off over index 15.