摘要: Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: begin to in 阅读全文
posted @ 2017-03-13 21:53 Nicolellu 阅读(129) 评论(0) 推荐(0)
摘要: keyword:快慢引用 比如: fast:每次走两步 slow:每次走一步 如果链表有环,这俩货一定会相遇 【至于为什么】 跑步时候快的慢的一定会扣圈的啊 假设Faster确实把Slower超了而且他俩还没相遇(类似Faster一下迈了2步,Slower一下迈了一步,Faster超了Slower, 阅读全文
posted @ 2017-03-13 21:44 Nicolellu 阅读(90) 评论(0) 推荐(0)
摘要: 先打个包的链接http://jingyan.baidu.com/article/363872ec2239336e4ba16fdd.html 调试版和正式版http://jingyan.baidu.com/article/25648fc19932849191fd0001.html MGJ起司爸爸了。。 阅读全文
posted @ 2017-03-13 20:56 Nicolellu 阅读(158) 评论(0) 推荐(0)
摘要: 如果想让某个view紧贴屏幕右侧,最好使用relativelayout 相对布局常用属性: 子类控件相对子类控件:值是另外一个控件的id android:layout_above 位于给定DI控件之上android:layout_below 位于给定DI控件之下 android:layout_toL 阅读全文
posted @ 2017-03-13 20:56 Nicolellu 阅读(134) 评论(0) 推荐(0)