Question: is ospf a distance vector protocol?
Answer: OSPF is not a distance-vector protocol like RIP, but a link-state protocol with a set of metrics that can be used to reflect much more about a network than just the number of routers encountered between source and destination. In OSPF, a router attempts to route based on the “state of the links.”