quick-witted

adj. Quick to grasp a situation, make repartee, etc.  quick-wittedness n.

a. Having ready wit