A recursion sample demonstrate an implementation of use case where we have to find best possible combination of values based on the input set that can sum up to the input value. This app can also help in what values are passed by value and passed by reference.
For Example if the available values are {1,3,9} then in order to reach a value of 5 I can use 5X1 or 1X3 + 2X1 etc and In order to determine best combination finally sort it by closest value with minimum number of values used.