Interview questions

how can solve it?.