Star Systems interview question

they given a case to solve it programatically