Update Complete_Search.mdx
This commit is contained in:
parent
c83f150a73
commit
b4fc1f73ce
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ static void generate(int[] arr, int k){
|
|||
swap(arr, 0, k-1);
|
||||
// swap indices 0 and k-1 of arr
|
||||
}
|
||||
generate(arr, k-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue