PUZZLE #4320: PageRank Web Ranking (diff 2)
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.166667}, {'id': 1, 'label': 'B', 'pr': 0.166667}, {'id': 2, 'label': 'C', 'pr': 0.232341}, {'id': 3, 'label': 'D', 'pr': 0.166667}, {'id': 4, 'label': 'E', 'pr': 0.242659}, {'id': 5, 'label': 'F', 'pr': 0.025}
|
| Links |
[3], [0], [4], [1], [2], [4]
|
| 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 2
— website sponsored —
[ ad space ]