JOIN
 Select a Forum     Round Tables New Member Discussions News Discussions Algorithm Matches Marathon Matches NASA Tournament Lab TopCoder Cookbook High School Matches Sponsor Discussions Development Forums Design Forums Search | Watch Thread  |  My Post History  |  My Watches  |  User Settings View: Flat  | Threaded  | Tree Previous Thread  |  Next Thread Forums Tutorial Discussions Dynamic Programming: From novice to advanced operators and operands problem
 operators and operands problem | Reply HiI am asking my question. I think this problem is related to Dynamic programming concept.Problem: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+dF2 = a+b+c-dF2 = a+b-c-d....Fi = a*b+c/d;I could not implement the problem.Is there anyone help me?
 Re: operators and operands problem (response to post by sharifzadeh) | Reply It is not Dynamic programming conceptm = length(operands);n = length(operators);void Try(i){ for (j=0; j++; j
 Forums Tutorial Discussions Dynamic Programming: From novice to advanced operators and operands problem Previous Thread  |  Next Thread