CodeGen International interview question

done projects previously, basic knowledge