CoreView Systems interview question

1 problem solving on machine test was easy