Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    The order of keys is the same order of array in input

    Objects do not have key order in general.

    and the order of alerts is left to rigth top to bottom

    This is not properly tested: sorting by y first or x first both passes the tests.

    Also this description is not properly formatted at all (and not even coherent in the first place), it screams to be rewritten.

  • Custom User Avatar

    Distance metric is not specified, and frankly insane: why is Chebyshev distance used??? Shouldn't any sane person be able to deduce that distances in reality are in Euclidean distance?

  • Default User Avatar

    Nice Kata.