Meta interview question

7 kings classic comp sci question