DEV Community

loading...

Discussion on: Daily Coding Problem #1

vdedodev profile image
Vincent Dedo

I've just realised that my algorithm is wrong, it would fail for something like 10 and [5]. Guess I need to put a bit more thought in my comments.