public void subset(string[] A, int k, int start, int currLen, bool[] used, int tot) { if(--- return --terminate if (start == A.Length) { return; } used[start] = true; subset(A, k, start + 1, currLen + 1, used, tot); used[start] = false; subset(A, k, start + 1, currLen, used, tot); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)