What did you do that made you realize that you are smart?
What have you done that made you realize how smart you are?