Thoughtworks Interview Question

1. Railway ticket booking system design. Focus on design pattern specially Decorator pattern.