Demansol Interview Question

Match stick problem