Changing the code to return tuple

This commit is contained in:
AasheeshLikePanner 2023-10-09 21:52:20 +05:30
parent dde13de591
commit 0a24286160

View File

@ -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)