??, definitely not a computer geek :)


所有跟贴·加跟贴·新语丝读书论坛

送交者: xj 于 2008-02-07, 23:10:34:

回答: 俺是这么想的 由 queue 于 2008-02-07, 22:15:41:

This problem is a basic data structure stuff. You only need to remember root, direct parents and children, and sort by time (actually post ID) for each layer. It is not a big work anyway.

check the source of this file.




所有跟贴:


加跟贴

笔名: 密码: 注册笔名请按这里

标题:

内容: (BBCode使用说明