Viasat interview question

project explanation. small program logics