摘要: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng 阅读全文
posted @ 2017-02-21 23:09 DevinGu 阅读(144) 评论(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-02-21 22:56 DevinGu 阅读(206) 评论(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-02-21 18:29 DevinGu 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 步骤一:在浏览器输入www.leetcode.com步骤二:点击右上角注册步骤三:注册登录后,点击右上角的Online judge步骤四:可能又会让你登录,点击sing in而不是sign up,输入用户名密码登录:步骤五:选个题目,然后选择语言,在代码编辑器中输入代码,然后submit solut 阅读全文
posted @ 2017-02-06 10:59 DevinGu 阅读(1129) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-09-08 20:03 DevinGu 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 一、环境搭建 1. 安装java jdk,我选择的是jdk 1.7版本,配置环境变量; 2. 下载并安装java EE; 二、创建工程 1. 打开File-> New ->other ->Plug-in Project; 2. 点击 next,输入Project name,可以根据自己的实际情况输入 阅读全文
posted @ 2016-09-02 10:31 DevinGu 阅读(564) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://www.cnblogs.com/CheeseZH/archive/2012/11/05/2755107.html 无论学习哪门计算机语言,只要把100例中绝大部分题目都做一遍,就基本掌握该语言的语法了。 【程序1】 题目:有1、2、3、4个数字,能组成多少个互不相同且无重复数 阅读全文
posted @ 2016-08-04 22:40 DevinGu 阅读(26633) 评论(2) 推荐(0) 编辑
摘要: 一、安装Python Python比较稳定的两个版本是Python 3.5和Python 2.7,我用的是Python 2.7,下载地址是:https://www.python.org/downloads/,下载之后按照正常的软件安装过程安装即可。 配置Python环境变量:控制面板->系统->高级 阅读全文
posted @ 2016-06-29 16:07 DevinGu 阅读(27390) 评论(0) 推荐(0) 编辑