Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyPermutation ¶
func ApplyPermutation(input []interface{}, permutation []int)
ApplyPermutation mutates the given input based on the permutation information in the 2nd argument. Runs in O(N) time and O(N/2) space. Correct input is the responsibility of the caller.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.