Operation

enum Operation

The swap operations

  • Swap the values of first and second indexes in the array.

    Declaration

    Swift

    case swap
  • Move the value in the first to the place indicated by the second index.

    Declaration

    Swift

    case moveValue