hit upon a solution

See: resolve, solve