Last 15 mins- coding question: Given 6 integers and 1 target value, write a function to get the target value using 6 integers with any on these operations +,*,-,/
Utilisateur anonyme
You would have to check for all 4^(6-1) combinations, since there are 4 possible operators and 6-1 positions at which operators can be plugged in! Is there any way to optimize this?