Creating tree from list of input and then increment a counter anytime there is a child and retrieve the id of the parent node?

前端 未结 0 651
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-21 17:02

I have an input text file like this:

Bunny -vs- Dog
Bunny Corners -vs- Dog Corners
Bunny Penalty -vs- Dog Penalty
Duck -vs- Cat
Tiger -vs- Lion
Tiger Corners          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题