Sezzle Interview Question

DS problem