Australian software engineer got asked algorithm question when entering US
David is a software engineer from Sydney and he is a 24-year-old studied computer science and law at the University of New South Wales. In February, David just finished his study in Europe and prepared to stop over a few days in New York before returning back to Australia. The story begun at the immigration queue at Newark airport in New York.
When he was at the queue and waiting for clearing immigration checks, the TV was broadcasting some CNN news about the latest travel ban from Donald Trump administration. And he was asked some regular questions when it was his turn. He felt all clear when these questions were answered. But then the CBP(Customs and Border Protection) officer asked one last question.
“What do you do for a living?”
David told the officer that he is a software engineer. And the officer asked if he knew Python code, and David said yes. Thereafter a follow up question was asked.