Politics and Society
Nigerian software engineer asked to balance Binary Search Tree at J.F Kennedy Airport
How would you react if you were in an airport coming into another country and you had to prove your profession? This is what a Nigerian software engineer experienced in the U.S. at the John F. Kennedy International Airport, made to take a software development based test to authenticate the reason for his trip.
Published
9 years agoon

American airports have been places where anything can happen from body searches to immigration officers detaining people but even the most seasoned traveler would be dumbfounded by the unusual experiences of a Nigerian man.
At the John F. Kennedy Airport, in New York, a Nigerian named Celestine Omin whose Twitter profile describes him as an ex software engineer (website Cyberomin) tweeted that he had been asked to balance a Binary Search Tree by an immigration officer.
I was just asked to balance a Binary Search Tree by JFK's airport immigration. Welcome to America.
— CLSTN. (@cyberomin) February 26, 2017
Omin said he had been too tired to think of a solution having traveled for 23 hours. The questions were given to him on an A4 sheet of paper and he was asked two questions:
Write a function to check if a Binary Tree is balanced.
What is an abstract class, and why do you need it?
Read: Port Harcourt International Airport voted ‘world’s worst airport’
After answering the questions, he was told by the immigration officer that his answers were wrong. An exhausted Omin, knackered after a long flight had given technical answers but believed that the immigration officer wanted Wikipedia descriptions.
I guess I have to take a CS book with me on my next trip to the US. This is completely nuts!
— Edem Kumodzi 🇬🇭🇹🇬 (@edemkumodzi) February 26, 2017
you should and make sure all your definitions are from Wikipedia.
— CLSTN. (@cyberomin) February 26, 2017
According to LinkedIn, Omin left Lagos, Nigeria on February 26, visiting the United States for the first time on a work trip. For the last six months, Omin had been working for Andela, a startup that connects the top tech talent in Africa with employers in the U.S. Andela accepts less than 1% of applicants into its program and is backed by Facebook’s Mark Zuckerberg and Priscilla Chan. For this particular role, Omin was helping NYC-based fintech startup First Access create a JavaScript application for emerging markets and had secured a short-term joint B1/B2 visa.
Read: Simply the best: Cape Town International Airport ranked Africa’s best airport
According to LinkedIn, Omin was not told why he was being questioned and was hushed by the immigration officer anytime he asked why he was being questioned. The Nigerian man confessed that at a point he feared he would not be allowed into the U.S.

US Department of Homeland Security. Photo: Wesley Fryer/Flickr
After a while Omin was released but that’s not before the official told him he didn’t look convincing to him. Omin later learnt that his release was based on a call to Andela and First Access which confirmed his story to the U.S Customs.
Since U.S President Donald Trump came to power, there has been an increase in detentions by customs officials. Many U.S. citizens apologised to Omin for the incident and welcomed him to their country.
well, I guess, this is the new travel guide to the US! pic.twitter.com/HINI7jMheT
— Gee (@akshith_g) February 27, 2017
How would they know if you did it right? Lots of unemployed software engineers working for immigration? Crazy
— Bill Marshall (@spiderbill) February 28, 2017
that is what I don't understand
This is disrespectful on so many levels— Rayy Benhin (@Bbenhin) February 26, 2017
https://twitter.com/AnnieTheObscure/status/836464299715391489
I am so embarrassed of my country. I am so sorry.
— Corey Ann (@coreyann) February 27, 2017
I'm so sorry you had to go thru this. Ordinary Americans are carrying out Bannon's inhumane actions. It's a travesty.
— FranIAm (@Franterest26) February 27, 2017
Please know that most of us hate all of this, with a blinding fury. We talk and think of little else but fixing it.
— Karen Springer 🇺🇦💉🇺🇸 (@SpringerKM) February 27, 2017
Advertisement
Shit man, that sucks and I'm sorry. Our border folks have apparently gone mad with power.
— Bob Aman (@sporkmonger) February 28, 2017
https://twitter.com/catherineoates1/status/836067349140668417
Entering the United States is now a Bad Job Interview™ @cyberomin https://t.co/01O79wJtGh
— Fake “Unicode.” ↙️🩵 (@FakeUnicode) February 27, 2017
Advertisement
You may like
Western media outlets are trying to fix their racist, stereotypical coverage of Africa. Is it time African media did the same?
Black and Female in Corporate America – “The Other Black Girl” TV show review
Migrants at the mercy of Morocco’s iron fist
Passport privilege and Visa apartheid: Africans as unwanted visitors in Europe and America
Racism in South Africa: why the ANC has failed to dismantle patterns of white privilege
Cartoon | Racism for Sale: An alarming Chinese export