Ad
  • Custom User Avatar

    I understood why the truth was expected: -14*-14 = 196

    But my solution was to first find the root of the number Math.sqrt(196); then find it in array A

    Maybe I'm not the only one who solved the task in reverse order๐Ÿ˜Š๐Ÿ˜Š

  • Custom User Avatar

    Test8: not sure if this is the right test

    log
    [0, -14, 191, 161, 19, 144, 195, 1]
    [1, 0, 196, 36481, 25921, 361, 20736, 38025]
    expected: true but was: false

    why expected true?