Meta interview question

arrays manipulation and graphs algorithms