随笔分类 -  LeedCode-Easy

简单题目,题解
摘要:题目原文 Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: 阅读全文
posted @ 2020-07-02 23:40 黄鹏宇 阅读(114) 评论(0) 推荐(0)
摘要:题目原文 The count-and-say sequence is the sequence of integers with the first five terms as following: 1. 1 2. 11 3. 21 4. 1211 5. 111221 1 is read off a 阅读全文
posted @ 2020-07-02 21:29 黄鹏宇 阅读(105) 评论(0) 推荐(0)
摘要:Merge Two Sorted Lists 题目原文 Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of t 阅读全文
posted @ 2020-07-02 21:10 黄鹏宇 阅读(171) 评论(0) 推荐(0)
摘要:因本人才疏学浅,如有错误之处,还请见谅 Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume t 阅读全文
posted @ 2020-05-12 18:07 黄鹏宇 阅读(208) 评论(0) 推荐(0)