you can create a stack. In the stack, you search the every next point and push current point of the node.

jami (jami)
If you find the point in the stack, that is link loop in your link table. For more efficient search, you can sort the points in the stack before searching.
2001-7-24 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: 看了#142300,也来贴一道MS研究所在中国招聘的考题......

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论