Degrees, HITS and Pagerank algorithms