PUZZLE #3373: PageRank Web Ranking (diff 7)
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.245736}, {'id': 1, 'label': 'B', 'pr': 0.142126}, {'id': 2, 'label': 'C', 'pr': 0.150776}, {'id': 3, 'label': 'D', 'pr': 0.117488}, {'id': 4, 'label': 'E', 'pr': 0.182816}, {'id': 5, 'label': 'F', 'pr': 0.161057}
|
| Links |
[2, 3, 4, 5], [2, 3, 4], [0, 1, 4, 5], [1, 2, 4], [0, 1, 5], [0]
|
| 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 7
— website sponsored —
[ ad space ]