开发者

Algorithm for building tree hierarchy based on URL paths

This is related to 开发者_如何学JAVAParse Url Strings into Tree Hierarchy

But i'm implementing in javascript, therefore require some algorithm here instead of using SQL functions.


Prefix tree/Trie or Suffix Tree

It is really difficult to suggest one over the other unless you specify the sort of operations you intend to perform over and above organising them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜