I would think that this is a mistake and you'd need to say:
"Which of you thinks he or she is the smartest?"
I'm not a native speaker though.