Ad
  • Custom User Avatar

    I passed this kata but then realised that I had misunderstood the question. I thought it was asking whether the REMAINING two sides would be equal - in other words a cuboid with volume 80 and side 5 would mean that the two remaining sides are equal because 80/5 = 16 and 16 is a square number - so the remaining two sides would both be the square root of 16 : 4. Using this example, a 5 x 4 x 4 cuboid would pass as true in my code even though clearly it is not. Extra testing needed I think?