quick-witted

adj

1.
mentally nimble and resourceful
Derived from:
quick-wittedness