Facebook Interview Report
- 1of 1 vote
AnswersGiven a list of integer numbers, a list of symbols [+,-,*,/] and a target number N, provide an expression which evaluates to N or return False if that is not possible.
- chochim February 18, 2013 in India
e.g. let the list of numbers be [1,5,5] and the target number is 9, one possible solution could be 5+5-1.| Report Duplicate | Flag | PURGE
Facebook Algorithm - 2of 2 votes
AnswersGiven an expression (in single variable) like 4x+13(x-(4x+x/3)) = 9, evaluate x
- chochim February 18, 2013 in India
The expression is a string and the variable is always x.| Report Duplicate | Flag | PURGE
Facebook Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.