Test Cases (0/5)
    • greaterThanSecond([1, 3, 5, 7]) to return [5,7]

    • greaterThanSecond([0, -3, 2, 5]) to return [0,2,5]

    • greaterThanSecond([2]) to return false

    • greaterThanSecond([]) to return false

    • greaterThanSecond([0, 1, 2, -5]) to return [2]

    Output
    Michael
      (0/300)