Graph on an Array | CodeChef