Seriously with the test case


  • -1
    T

    Input:
    [["JFK","ATL"],["ATL","JFK"]]
    Output:
    ["ATL","JFK","ATL"]
    Expected:
    ["JFK","ATL","JFK"]

    How is that possible?JFK before ATL??Or am I missing anything?


Log in to reply
 

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