摘要: Remove all elements from a linked list of integers that have value val. Example: Input: 1->2->6->3->4->5->6, val = 6 Output: 1->2->3->4->5 Remove all 阅读全文
posted @ 2018-07-25 20:53 回到明天 阅读(95) 评论(0) 推荐(0)
摘要: Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Given linked list -- head = [4,5,1,9], wh 阅读全文
posted @ 2018-07-25 20:35 回到明天 阅读(109) 评论(0) 推荐(0)
摘要: Given a list of 24-hour clock time points in "Hour:Minutes" format, find the minimum minutes difference between any two time points in the list. Examp 阅读全文
posted @ 2018-07-25 20:20 回到明天 阅读(159) 评论(0) 推荐(0)