Runtime error Last executed input: []

  • 0

    My solution get runtime error Last executed input: []. But I think I have handled empty array in myde code:

    if(points == null)
    return 0;
    if(points.length < 2)
    return points.length;

    Anybody has the same issue? Do you have any idea on this? Thanks.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.