sharp-witted

adj

1.
having the ability to perceive or understand; keen in discernment
2.
provoking laughter by means of word play