Guidewire interview question

Explain n-tier architecture and provide an example.