Test Cases (0/5)
    • nToLast( [5,2,3,6,4,9,7], 3 ) to return 4

    • nToLast( [1,2], 3 ) to return null

    • nToLast( [5,2,3,6,4,9,7], 4 ) to return 6

    • nToLast( [5,2,3,6,4,9,7], 5 ) to return 3

    • nToLast( [1,2,3,5,5,7,10], 1 ) to return 10

    Output
    Michael
      (0/300)