上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页
摘要: Problem : You are given two non empty linked lists representing two non negative integers. The digits are stored in reverse order and each of their no 阅读全文
posted @ 2020-03-27 17:02 littledy 阅读(122) 评论(0) 推荐(0)
摘要: Problem : Implement strStr(). Return the index of the first occurrence of needle in haystack, or 1 if needle is not part of haystack. Example 1: Examp 阅读全文
posted @ 2020-03-26 00:20 littledy 阅读(109) 评论(0) 推荐(0)
摘要: Problem : Given an array nums and a value val, remove all instances of that value in place and return the new length. Do not allocate extra space for 阅读全文
posted @ 2020-03-25 23:56 littledy 阅读(120) 评论(0) 推荐(0)
摘要: Problem : Given a sorted array nums, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate 阅读全文
posted @ 2020-03-25 23:42 littledy 阅读(105) 评论(0) 推荐(0)
摘要: Problem : Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: E 阅读全文
posted @ 2020-03-25 22:40 littledy 阅读(93) 评论(0) 推荐(0)
摘要: Problem : Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string 阅读全文
posted @ 2020-03-25 21:53 littledy 阅读(98) 评论(0) 推荐(0)
摘要: Problem : Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists 阅读全文
posted @ 2020-03-25 21:15 littledy 阅读(113) 评论(0) 推荐(0)
摘要: 什么是Linux 两层含义: 一种是Linus Benedict Torvalds编写的开源操作系统的内核 另一种是广义的操作系统 执行环境: 云主机 无数据的PC(不推荐多系统混跑) 虚拟机(推荐方式) 版本 内核版本 内核版本分为三个部分:主版本号、次版本号、末版本号;次版本号是奇数为开发版,偶 阅读全文
posted @ 2020-03-07 12:49 littledy 阅读(205) 评论(0) 推荐(0)
摘要: Problem : Given a non empty string s and a dictionary wordDict containing a list of non empty words, determine if s can be segmented into a space sepa 阅读全文
posted @ 2020-02-21 21:48 littledy 阅读(98) 评论(0) 推荐(0)
摘要: Problem : 思路 : 用DP算法。状态方程为: Solution (C++) : 性能 : Runtime: 8 ms Memory Usage: 8.9 MB 阅读全文
posted @ 2020-02-18 20:33 littledy 阅读(101) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页