From b3a98dfc6021b4313ed330daf288471b7fc3bcca Mon Sep 17 00:00:00 2001 From: Jagdish Prajapati Date: Thu, 14 Nov 2024 23:27:08 +0530 Subject: [PATCH] Adding snippet for approach of change --- .../change/.approaches/dynamic-programming/snippet.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 exercises/practice/change/.approaches/dynamic-programming/snippet.txt diff --git a/exercises/practice/change/.approaches/dynamic-programming/snippet.txt b/exercises/practice/change/.approaches/dynamic-programming/snippet.txt new file mode 100644 index 000000000..25f90e6f5 --- /dev/null +++ b/exercises/practice/change/.approaches/dynamic-programming/snippet.txt @@ -0,0 +1,8 @@ +class ChangeCalculator { + private final List currencyCoins; + + ChangeCalculator(List currencyCoins) { + this.currencyCoins = currencyCoins; + } + // computeMostEfficientChange method +}