Hacker News new | ask | show | jobs
by ZephyrP 2588 days ago
When considering a small number of possible operations, I've found the optimum way to work this is to simply enumerate all binary expression trees of increasing length and determine if some valid assignment exists for any of them.