Persistent Systems interview question

Question asked on my 5 years back project