转载的,原文:http://igoro.com/archive/efficient-auto-complete-with-a-ternary-search-tree/ 转载于:https://www.cnblogs.com/Mainz/archive/2010/05/05/1727947.html