@Override
      public void permute(String @NotNull [] lines) {
        int halfSize = lines.length / 2;
        for (int i = 0; i < halfSize; i++) {
          int oppositeI = lines.length - 1 - i;
          String tmp = lines[i];
          lines[i] = lines[oppositeI];
          lines[oppositeI] = tmp;
        }
      }
@Override
      public void permute(String @NotNull [] lines)