Tyro Payments Interview Question

What's the difference between OSPF,BGP?