Bread Financial Interview Question

They asked about a problem that involved stacking operation in SQL.