- 博客(6)
- 资源 (2)
- 收藏
- 关注
原创 3. Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which the length is 3.Given "bbbbb", the answer is "
2017-10-22 23:19:01 144
原创 2. Add Two Numbers
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 contain a single digit. Add the two numbers and return i
2017-10-22 00:56:40 189 1
原创 1. Two Sum
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 exactly one solution, and you may not use the sam
2017-10-21 23:17:33 156
原创 LeetCode 1 Two Sum for java
Two Sum Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to
2015-03-13 11:22:54 278
原创 关于类中new对象与构造函数执行顺序的问题
package com.practise_2;public class E709 {public static void main(String[] args){Stem s=new Stem();}}class Root{Root(){System.out.println("this is Root");}Component_1 c1=new Component_1();Component_2
2014-10-27 20:53:38 2061 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人