Ong & Shan interview question

Python c Java node js