代码改变世界

阅读排行榜

[转]TreeMap 简介

2015-04-08 17:15 by 雪夜&流星, 176 阅读, 收藏,
摘要: 转载自:http://www.cnblogs.com/skywang12345/p/3310928.htmlTreeMap 简介TreeMap 是一个有序的key-value集合,它是通过红黑树实现的。TreeMap继承于AbstractMap,所以它是一个Map,即一个key-value集合。Tr... 阅读全文

单链表逆转

2014-10-15 20:48 by 雪夜&流星, 173 阅读, 收藏,
摘要: 单链表参考:http://www.cnblogs.com/tanlon/p/4027046.html单链表逆转:package com.clarck.datastructure.linked;/** * 单链表逆转 * * @author clarck * */public class Sing... 阅读全文

Android NDK 学习之Android.mk

2014-12-03 10:45 by 雪夜&流星, 172 阅读, 收藏,
摘要: Android.mkfile syntax specificationIntroduction:This document describes the syntax ofAndroid.mkbuild file written to describe your C and C++ source fi... 阅读全文

LeetCode刷题之Two Sum

2015-01-06 17:17 by 雪夜&流星, 159 阅读, 收藏,
摘要: Problem: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 th... 阅读全文

[转]HashMap的工作原理

2015-04-14 15:56 by 雪夜&流星, 158 阅读, 收藏,
摘要: 转载自:http://www.importnew.com/7099.html本文由ImportNew-唐小娟翻译自Javarevisited。欢迎加入翻译小组。转载请见文末要求。HashMap的工作原理是近年来常见的Java面试题。几乎每个Java程序员都知道HashMap,都知道哪里要用HashM... 阅读全文