Challenge for Backtracking Recursion


Given a number k and a list of coins ar, determine if the coins can be added together to equal k. Print true if you can get the exact sum and false otherwise.

(The boilerplate code passes in 2 variables: the list of numbers ar and the desired sum k.)

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]