Brocade interview question

patricia tree implementation