Persistent Systems Interview Question

A difficult puzzle