Description Usage Arguments Value
e.g. find_integers_with_sum(4, 2)
gives 'c(1, 3)', 'c(2, 2)', 'c(3, 1)'
1 | find_integers_with_sum(target_sum, target_length, current_vec = c())
|
target_sum |
target sum |
target_length |
target length |
current_vec |
current working set for the back-tracking solution process |
list of integer vectors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.