摘要: 问题描述Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.解决思路1.定义Line类{slope; intercept; isVertical; isHor... 阅读全文
posted @ 2015-08-11 20:56 Chapter 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 问题描述You are given a string,s, and a list of words,words, that are all of the same length. Find all starting indices of substring(s) insthat is a conca... 阅读全文
posted @ 2015-08-11 19:31 Chapter 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 问题描述Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letter... 阅读全文
posted @ 2015-08-11 15:01 Chapter 阅读(122) 评论(0) 推荐(0) 编辑