Schneider Electric interview question

Practice Hacker rank, aptitude and programming lang