Re: [algogeeks] evaluate expression

2010-08-29 Thread Manjunath Manohar
the running time of the algo would be exponential.you need to permute the array with different combinations of the operators.. i can help you with the code for permuting an array.. i hope u get my point.. -- You received this message because you are subscribed to the Google Groups "Algorithm Gee

[algogeeks] evaluate expression

2010-08-29 Thread krazee koder
hi all! You r given numbers from 0-9 and one RESULT (R). you can use operators *,/,-,+,""(concatening nos. like 12,123 etc.) ... You must find the possible expression that yields R. Pls post all possible solns fr this...m totally clueless. -- You received this message because you are subscribed