Frage im Vorstellungsgespräch bei Tata Consultancy Services

To write an algorithm for a given situation.