UiPath Interview Question

asked to solve multiple algorithmic problems