Solve Time-Window and Binary Swap Problems | SoFi Interview Question