Test Cases (0/4)
    • heights( [-1, 1, 1, 7, 3] ) to return [1,7]

    • heights( [0, 4] ) to return [4]

    • heights( [-1, 1, 1, 7, 3, 5, 9] ) to return [1,7,9]

    • heights( [-1, 1, 1, 7, 3, 5, 9, -3, 3, 15] ) to return [1,7,9,15]

    Output
    Michael
      (0/300)