Frage im Vorstellungsgespräch bei ADP

object oriented programming, asked to do some logic with arrays