Expedia Group interview question

How to Build complete solution through code and handle cyclic dependancy