Recommend top-K movies from similarity graph | Google Interview Question