PUZZLE #4467: PageRank Web Ranking (diff 4)
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.250966}, {'id': 1, 'label': 'B', 'pr': 0.275546}, {'id': 2, 'label': 'C', 'pr': 0.155845}, {'id': 3, 'label': 'D', 'pr': 0.082894}, {'id': 4, 'label': 'E', 'pr': 0.186263}, {'id': 5, 'label': 'F', 'pr': 0.048487}
|
| Links |
[1], [2, 4], [0, 3, 4], [0, 1, 5], [0], [1, 2, 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 4
— website sponsored —
[ ad space ]