XL Dynamics interview question

acccounting principles