Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReorderPermutation ¶
func ReorderPermutation(input []interface{}, permutationPosition []int) []interface{}
ReorderPermutation reorders the input based on the positions provided in the 'permutationPosition' slice. Runs in O(N) and O(N) space for result.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.