![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Graph
Nahida_nora
这个作者很懒,什么都没留下…
展开
-
Leetcode 708. Insert into a Sorted Circular Linked List
Leetcode 708. Insert into a Sorted Circular Linked ListApproach 1: Two-Pointers IterationGiven a node from a Circular Linked List which is sorted in ascending order, write a function to insert a value insertVal into the list such that it remains a sorted原创 2020-06-22 01:02:39 · 198 阅读 · 0 评论 -
Leetcode 1257. Smallest Common Region
Leetcode 1257. Smallest Common RegionBuild family tree from offsprings to their parents;Use a HashSet to construct ancestry history of region1;Retrieve ancestry of region2 by family tree till find the first common ancestry in ancestry history of region1原创 2020-06-10 00:33:57 · 122 阅读 · 0 评论