That what you would do if you knew such a solution exist, but cant recall the exact implementation.
In most cases, people who have no background in CS theory wouldn't even know such a solution exists and will resort to the generic "one-size-fits-all" solution