Test Cases (0/4)
    • bubbleSort([5,3,1,2]) to return [1,2,3,5]

    • bubbleSort([5,4,3,2,1]) to return [1,2,3,4,5]

    • bubbleSort([5, 3, 1, -1, -3]) to return [-3,-1,1,3,5]

    • bubbleSort([5, 3, 1]) to return [1,3,5]

    Output
    Michael
      (0/300)