Find the Largest lexicographic array with at most K consecutive swaps

Find the Largest lexicographic array with at most K consecutive swaps

More to explore