Verizon interview question

Explain how OSPF works