Persistent Systems Interview Question

Asked me to write code