开发者

Algorithm for building tree hierarchy based on URL paths

开发者 https://www.devze.com 2022-12-20 21:29 出处:网络
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

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

精彩评论

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