// Function for reducing the slice length and keep the recursion going.
Function for reducing the slice length and keep the recursion going.
// Function for reducing the slice length and keep the recursion going .
func reduceCharacaters(combPointer combgenInterface, activeSlice []string, prevLockedEl string) {
	for index, lockedEl := range activeSlice {
		newActiveSlice := removeFromSliceByIndex(activeSlice, index)
		newLockedEl := prevLockedEl + lockedEl
		combPointer.permute(newLockedEl, newActiveSlice)
	}
}
func reduceCharacaters ( combPointer combgenInterface , activeSlice [ ] string , prevLockedEl string ) { for index , lockedEl := range activeSlice { newActiveSlice := removeFromSliceByIndex ( activeSlice , index ) newLockedEl := prevLockedEl + lockedEl combPointer . permute ( newLockedEl , newActiveSlice ) } }
Function for reducing the slice length and keep the recursion going.
Function for reducing the slice length and keep the recursion going .