[R] help

Kanika Sahni kanikasahni.90 at gmail.com
Mon Sep 19 12:39:46 CEST 2016


Input1: A list of distinct numbers,L1
Input2: A single number, T

Output all combinations of L1 that can yield T using +,-,*,/.

eq:
L1=[4,5,2,3] and T=6. Output: [2*3],[2+4],[5+3-2],[3*4/2] ..... all other
combinations.

	[[alternative HTML version deleted]]



More information about the R-help mailing list