![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
文章平均质量分 85
iteye_11504
这个作者很懒,什么都没留下…
展开
-
TopCode_TCCC '01 Round 2_Level One_StringDup
熟悉一下数据结构 Problem Statement Create a class called StringDup. Given a string made up of ONLY letters and digits, determine which character is repeated the most in the string ('A' is different...2013-05-28 00:13:58 · 86 阅读 · 0 评论 -
ArrayList的实现方式
这里我想说说我对这个数据结构的理解。之前一直被theSize,size(),theItems.length几个点搞混。现在有点小明白。在java环境下,新建立数组并用int[] a = new int[10]。这样初始化的时候,数组的长度a.length=10。但是全部都是为null。而在上面的线性表中的size,返回的是a数组包含元素的个数,与a.length没有关系。 调试...原创 2012-10-29 17:06:37 · 105 阅读 · 0 评论 -
java数据结构和算法(第二版)第二章习题
地址:http://inmethetiger.iteye.com/blog/1707505 说明:原创是指习题答案。清单只是为了前后对应。 清单2.3 public class HighArrayApp { public static void main(String[] args){ int maxSize = 100; HighArray arr = new...2012-10-29 17:48:46 · 255 阅读 · 0 评论