Question: what is the difference between a distance-vector algorithm and a link-state algorithm?
Answer: Distance vector protocols send their entire routing table to directly connected neighbors. Link state protocols send information about directly connected links to all the routers in the network.