smart cookie
US /smɑrt ˈkʊki/
UK /smɑrt ˈkʊki/

1.
an intelligent and capable person
:
•
She's a really smart cookie; she figured out the solution in no time.
•
You have to be a smart cookie to succeed in this competitive industry.
an intelligent and capable person