swissQuant interview question

Questions regarding the assigned coding challenge.