Veeam Software interview question

some live-coding. quick questions to from math or logic, technical part