1:3 -> 0; 3:5 -> 6
The problem statement and test suite really need some improvement, here. It's a nice problem, though! I didn't assume that the three lengths given would form a triangle, and return a NaN if they don't.
best solution
^ I used trigo rule and didn't get a round ans, idea on how to improve this?
This is'nt a general solution. See Solution 206432.
Increment a number, given its digits
505 Solvers
269 Solvers
Who has power to do everything in this world?
256 Solvers
394 Solvers
What is Sum Of all elements of Matrix
215 Solvers