I am trying to solve a problem with 4 numbers on a license plate or rather 4 numbers.
Let's say there's a license plate with 4 numbers 3420
I need an output of 10 from these numbers. i.e. 3X4 - 2 = 10
Assumptions: All 4 numbers cannot be same and not all can be zero
You can sum the numbers. You can multiply two numbers and divide by one of the other numbers and subtract from the remaining 4th number.
I want to know what all permutations and combination can I use in my approach. Please let me know.