学会思考
刻意练习
摘要: Given an array and a value, remove all instances of that value in place and return the new length. The order of elements can be changed. It doesn't ma 阅读全文
posted @ 2019-08-26 23:20 Worty 阅读(129) 评论(0) 推荐(0)
摘要: Given a linked list, swap every two adjacent nodes and return its head. Example: Note: Your algorithm should use only constant extra space. You may no 阅读全文
posted @ 2019-08-26 23:11 Worty 阅读(131) 评论(0) 推荐(0)
摘要: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return ... 阅读全文
posted @ 2019-08-26 22:40 Worty 阅读(157) 评论(0) 推荐(0)