Pocket Gems Interview Question

Strstr, Construct tenary tree