From 78699e66da9149370b4017f5518bea02d1830328 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 16:24:21 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- dynamic_programming/subset_generation.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dynamic_programming/subset_generation.py b/dynamic_programming/subset_generation.py index f29c509d2..5d4d2792b 100644 --- a/dynamic_programming/subset_generation.py +++ b/dynamic_programming/subset_generation.py @@ -1,7 +1,6 @@ # return all subset combinations of n element in given set of r element. - def subset_combinations_dp(elements, n): r = len(elements) @@ -23,4 +22,4 @@ if __name__ == "__main__": elements = [10, 20, 30, 40] n = 2 result = subset_combinations_dp(elements, n) - print(result) \ No newline at end of file + print(result)