Lynk Logistics interview question

Lock unlock bjnary tree, string manipulation