上一页 1 ··· 11 12 13 14 15
摘要: 看到shell没几道题,那就把shell先刷了吧 Write a bash script to calculate the frequency of each word in a text file words.txt. For simplicity sake, you may assume: wo 阅读全文
posted @ 2017-10-27 21:31 hozhangel 阅读(219) 评论(0) 推荐(0) 编辑
摘要: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font 阅读全文
posted @ 2017-10-27 17:03 hozhangel 阅读(268) 评论(0) 推荐(0) 编辑
摘要: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Example: k代表这一轮要比较的字串都是长度 阅读全文
posted @ 2017-10-26 21:45 hozhangel 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 图样图森破 今天发现LeetCode有solution,而且,点开solution之后,这时点击屏幕大概右上角view in article,里面有具体详解。java或python或。。的代码 虽然不一定就好理解,但是实在不会做的时候,没有思路的时候可以看一哈 阅读全文
posted @ 2017-10-26 21:30 hozhangel 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 题源: https://leetcode.com/problemset/all/ 第四题 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sort 阅读全文
posted @ 2017-10-26 20:30 hozhangel 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Given a string, find the length of the longest substring without repeating characters. 找出字串S中最长无重复子串的长度。 Examples: Given "abcabcbb", the answer is "ab 阅读全文
posted @ 2017-10-24 23:17 hozhangel 阅读(161) 评论(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 contai 阅读全文
posted @ 2017-10-24 23:14 hozhangel 阅读(332) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2017-10-24 23:02 hozhangel 阅读(243) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15