Sankey Solutions Interview Question

to complete the technical interview