leetcode
huanle543
这个作者很懒,什么都没留下…
展开
-
leetcode(1)
1.Given an array of integers, every element appears twice except for one. Find that single one.Note: Your algorithm should have a linear runtime complexity. Could you implement it without using extra原创 2015-10-23 17:18:04 · 258 阅读 · 0 评论 -
桶排序
// Bucket_Sort.cpp : 定义控制台应用程序的入口点。 //#include "stdafx.h"struct bucket { double value; bucket *next; };bucket *buckets[100];bucket *insert(bucket *head, double m) { bucket *p0, *p1, *p2;原创 2015-11-14 18:02:46 · 222 阅读 · 0 评论