UiPath interview question

asked to solve multiple algorithmic problems