Demansol interview question

Match stick problem