PUZZLE #4326: PageRank Web Ranking (diff 1)
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.15109}, {'id': 1, 'label': 'B', 'pr': 0.209519}, {'id': 2, 'label': 'C', 'pr': 0.060618}, {'id': 3, 'label': 'D', 'pr': 0.201926}, {'id': 4, 'label': 'E', 'pr': 0.212875}, {'id': 5, 'label': 'F', 'pr': 0.163972}
|
| Links |
[3], [0, 2, 3, 4, 5], [1, 3, 4, 5], [1], [0, 5], [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 1
— website sponsored —
[ ad space ]