Goavega interview question

Basic question mostly not relatable to my work.