Lily's Homework

  • + 0 comments

    Check it for reverse array1: 1 3 5 2 - it require two swaps. We are only taking min of ascending and descending.