Frage im Vorstellungsgespräch bei EPAM Systems

A simple algorithm and some questions about Design Patterns