FDM Group interview question

Looking at psudo code and being able to interpret it.