Question: what is the difference between distance vector and link state?
Answer: In distance vector routing the routers receive the topological information from the neighbour point of view. On the contrary, in link state routing the router receive complete information on the network topology. Distance vector routing calculates the best route based on the distance (fewest number of hops).