junlon2006 / linux-c

computer system & Linux
Apache License 2.0
1 stars 1 forks source link

leetcode常见思路 #105

Open junlon2006 opened 4 years ago

junlon2006 commented 4 years ago

对于有环的:考虑快慢指针,必然会重叠

junlon2006 commented 4 years ago

化零为整:https://leetcode-cn.com/problems/exchange-lcci/comments/

junlon2006 commented 4 years ago

约瑟夫环数学解法:https://leetcode-cn.com/problems/yuan-quan-zhong-zui-hou-sheng-xia-de-shu-zi-lcof/solution/huan-ge-jiao-du-ju-li-jie-jue-yue-se-fu-huan-by-as/