UST Interview Question

tecnical questions are little difficult