Samsung R&D Institute India - Noida interview question

A question based on graphs.