摘要: 经典链表题找链表的中间节点 快慢指针 #include #include #include using namespace std; //Definition for singly-linked list. //Given a non-empty, singly linked list with head node head, return a middle node of linked li... 阅读全文
posted @ 2018-10-09 23:40 hopskin1 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 答案: max(max(A)-min(A)-2*K,0) 代码: 阅读全文
posted @ 2018-10-09 08:03 hopskin1 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 代码 阅读全文
posted @ 2018-10-09 00:28 hopskin1 阅读(128) 评论(0) 推荐(0) 编辑