Pergunta de entrevista da empresa Schneider Electric

They asked me to write a sorting algorithm up on a whiteboard while they watched. Although not necessarily unexpected or technically difficult, it was nerve wracking.