Ahh, disregard. The log eventually showed what my solution was failing on. Now do I include a specific edge case or try and figure this out some more. :P
My solution either passes all of the tests but doesn't register as a working solution, or passes all the tests except one yet the log shows all correct solutions.
Am I doing something wrong?
I would also like to know about how
findIndex
works; that's new to me!Sure: rounding problem in JS; fixed now
That's what I thought, but the tests expect 3 if I'm not mistaken (at least in javascript).
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Ahh, disregard. The log eventually showed what my solution was failing on. Now do I include a specific edge case or try and figure this out some more. :P
Language is C, and I've spammed the 'attempt' button repeatedly. I'll post the solution after trying to mess around with it some more.
Language, number of attempts and possibly solution in spoiler tag?
My solution either passes all of the tests but doesn't register as a working solution, or passes all the tests except one yet the log shows all correct solutions.
Am I doing something wrong?