- 博客(3)
- 收藏
- 关注
原创 【算法】【CareerCup】Chapter 2----Linked Lists
2.1 package com.careercup.chapter2; /*Write code to remove duplicates from an unsorted linked list. FOLLOW UP How would you solve this problem if a temporary buffer is not allowed? * */ import java.
2013-03-09 15:45:22
306
原创 【算法】【CareerCup】Chapter1----Arrays and Strings
1.1 //Implement an algorithm to determine if a string has all unique characters. //What if you cannot use additional data structures? package com.careercup.chapter1; public class CareerCup_1_1 { pu
2013-03-09 15:43:09
344
转载 JAVA容器初探
概念分类 Java 2将容器分为两个不同的概念: Collection 与Map Collection: 提供对一组各自独立的元素的集合,List 与 Set接口都继承自Collection接口。 Map:提供了一组key-value(键值对)。 两种类型的主要区别在于: Collection类型每个位置只持有一个元素(Object),比如List以加入
2013-01-17 20:52:09
218
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人