Cisco interview question

How does 802.1d spanning tree handle topology changes