Hi
We have n operands and m operators. For example:
operands = {a,b,c,d}
operators = {*, -, +, /}
We must put operators between operands and create all of the
possibility permutations.
F1 = a+b+c+d
F2 = a+b+c-d
F2 = a+b-c-d
....
Fi = a*b+c/d;
What is the best solution?
--
You received this message because you are subscribed to the Google Groups
"Google Code Jam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.