PUZZLE #4477: PageRank Web Ranking (diff 6)
A 6-page web graph. Each page has a label letter. Compute PageRank via power iteration. The pages ranked by score spell the answer word.
DATA
| Pages |
{'id': 0, 'label': 'A', 'pr': 0.235488}, {'id': 1, 'label': 'B', 'pr': 0.190241}, {'id': 2, 'label': 'C', 'pr': 0.025}, {'id': 3, 'label': 'D', 'pr': 0.18422}, {'id': 4, 'label': 'E', 'pr': 0.186067}, {'id': 5, 'label': 'F', 'pr': 0.178984}
|
| Links |
[4, 5], [0, 4, 5], [1, 3, 4], [0], [1], [3]
|
| Damping |
0.85
|
| N Pages |
6
|
| Hint |
Power iteration: PR(p) = (1-d)/N + d×ΣPR(q)/out_deg(q). Iterate 20+ times. Sort pages by PR descending. Read labels in order.
|
| Answer Format |
lowercase letters, no spaces or punctuation
|
author's note: Pool fill: pagerank diff 6
— website sponsored —
[ ad space ]