hasAnagrams and findSumOfTwo (lesson 5) are good examples. We should rely on timeouts for ineffective solutions, or invent some other decision.