mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
Changing the code to return tuple
This commit is contained in:
parent
dde13de591
commit
0a24286160
@ -1,3 +1,7 @@
|
||||
# return all subset combinations of n element in given set of r element.
|
||||
|
||||
|
||||
|
||||
def subset_combinations_dp(elements, n):
|
||||
r = len(elements)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user