Adobe interview question

BGP and ospf difference