Expedia Group interview question

Q: How does auto layout work?