Add and Search Word(LintCode 473):

Problem