GoPro interview question

recode some basic function architecture some software project according to a given problematic