The quality of being ingenious.
The ability to solve difficult problems, often in original, clever, and inventive ways.