how to calculate the accurate number of node in the Trie Tree?

0
0

http://hihocoder.com/contest/hiho78/problem/1 the problem is a Trie Tree problem,which is from HihoWeek 78,named Shortest proper prefix.

if N is 10000,which is the maximum input of N in this problem.In the worst case,how many nodes the final Trie Tree is supposed to have?How to think of this problem?

0 answer(s)

write answer 切换为英文 切换为中文


转发分享