SAP Interview Question

A DP question on binary arrays.