摘要: Design a simplified version of Twitter where users can post tweets, follow/unfollow another user and is able to see the 10 most recent tweets in the u 阅读全文
posted @ 2016-09-18 09:40 zdmlcmepl 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 196. Delete Duplicate Emails 196. Delete Duplicate Emails Write a SQL query to delete all duplicate email entries in a table named Person, keeping onl 阅读全文
posted @ 2016-09-12 17:17 zdmlcmepl 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 192. Word Frequency QuestionEditorial Solution My Submissions 192. Word Frequency QuestionEditorial Solution My Submissions QuestionEditorial Solution 阅读全文
posted @ 2016-09-12 15:25 zdmlcmepl 阅读(360) 评论(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 @ 2016-09-09 10:04 zdmlcmepl 阅读(100) 评论(0) 推荐(0) 编辑
摘要: Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 阅读全文
posted @ 2016-09-09 09:45 zdmlcmepl 阅读(123) 评论(0) 推荐(0) 编辑
摘要: You are given two jugs with capacities x and y litres. There is an infinite amount of water supply available. You need to determine whether it is poss 阅读全文
posted @ 2016-09-08 10:53 zdmlcmepl 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 题目链接 https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/ 题目原文 Follow up for "Remove Duplicates":What if duplicates are allowed at mo 阅读全文
posted @ 2016-09-06 15:49 zdmlcmepl 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 239. Sliding Window Maximum 239. Sliding Window Maximum Given an array nums, there is a sliding window of size k which is moving from the very left of 阅读全文
posted @ 2016-09-05 17:27 zdmlcmepl 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 把 #hhhh"hhhh.lab"我是好."hhjkkk.lab"我爱你. 等等 这种格式的文件变成 0 1 <s>1 2 怎么无法接通啊2 1002 <s>1 3 我是3 1002 <s> 等等1002 的格式 思路:提取"hhhh.lab"的行数,‘.’的行数分别填入list1,list2 再处 阅读全文
posted @ 2016-09-05 16:27 zdmlcmepl 阅读(213) 评论(0) 推荐(0) 编辑
摘要: wisted 是一个完全事件驱动的网络框架。 它允许你使用和开发完全异步的网络应用程序和协议。 在写本书的时候,它还不是 Python 标准库的一部分,要使用它,你必需另外下载并安装它(在本章 最后能找到链接)。它为你创建一个完整系统提供了很大的帮助。系统中可以有:网络协议,线程, 安全和认证,聊天 阅读全文
posted @ 2016-09-02 15:15 zdmlcmepl 阅读(431) 评论(0) 推荐(0) 编辑