左神算法-单链表相交【c++实现】

致敬左神的经典算法@左程云,敬请各位大神指教,有兴趣探讨的朋友能够私信我一块儿研究 //Version 1.0node //获得入环节点法一: 哈希表作法 singlenode* getcirclenode(singlenode* head) { singlenode ptr = head; map<singlenode, int> lmap; while (ptr != nullptr) { i
相关文章
相关标签/搜索