负暄琐话
我的email: rot47('649@ 6(hF+`hd"w=92vhG{>}G3"@l M >:>6?4@56 \F')
登录
注册
全站
当前博客
空间
博客
好友
相册
留言
囧囧
ID:g9yuayon
共
868568
次访问,排名
32
好友
26
人,关注者
30
人
姓名:g9yuayon
前世:夜郎国厚脸皮神棍
魅力指数:0
名气:1
宠物:一只从来不对生人叫的看门狗
g9yuayon的文章
原创 244 篇
翻译 4 篇
转载 48 篇
评论 862 篇
g9的公告
最近评论
gaoning87:
if(坨="堆")
{
return 1;
}
RonoTian:
不好意思,也是O(n)的。。。
RonoTian:
“第二道算法题是一坨任意整数数组。写一个函数,把数组里的奇数放前面。偶数放后面。比如[1, 2, 3, 4, 5],处理后得到[1, 3, 5, 2, 4]。这次我学乖了,先演算了几个例子,然后问了他顺序重要不。他说不重要。我说,俺决定从最简单的开始,试一试顺序做,放一坨下标,指向数组起始元素。说到这里,算法出来了。然后分析复杂度,时间O(n),空间O(1)”
这坨好像……
turingbook:
文字真强啊。成语一砣一砣的……
mmcjr:
已阅
文章分类
Emacs
(RSS)
八卦
(RSS)
翻译
(RSS)
计算机科学
(RSS)
开发
(RSS)
无聊的唠叨
(RSS)
阅读流水帐
(RSS)
杂感
(RSS)
收藏
相册
旅游
计算机科学
Lambda the Ultimate
软件开发
Reddit编程专栏
(RSS)
正在读的书
存档
2008年07月(2)
2008年06月(2)
2008年05月(2)
2008年03月(6)
2008年01月(1)
2007年12月(8)
2007年11月(3)
2007年09月(2)
2007年08月(4)
2007年07月(11)
2007年06月(1)
2007年05月(7)
2007年04月(14)
2007年03月(9)
2007年02月(12)
2007年01月(5)
2006年12月(8)
2006年11月(6)
2006年10月(2)
2006年09月(18)
2006年08月(23)
2006年07月(15)
2006年06月(6)
2006年05月(7)
2006年04月(2)
2006年03月(2)
2006年02月(7)
2006年01月(5)
2005年12月(3)
2005年11月(5)
2005年10月(13)
2005年09月(9)
2005年08月(8)
2005年07月(2)
2005年05月(4)
2005年04月(1)
2005年03月(10)
2005年02月(9)
2005年01月(1)
2004年12月(1)
2004年10月(4)
2004年09月(2)
2004年08月(3)
2004年07月(28)
2004年06月(1)
2002年02月(1)
2001年05月(1)
订阅我的博客
书签(2006-07-24)
收藏
新一篇: 书签(2006-07-24)
|
旧一篇: 书签(2006-07-24)
书签( 2006-07-24)
Sztywny Blog - Stiff asks, great programmers answer
Tags:
fun
great
interview
programmers
programming
Donald Knuth, The Art of Computer Programming, Volumn 4
Tags:
algorithm
combinatorial
combinatorics
cs
generation
programming
taocp
Ruby Monitor-Functions - Or Meta-Meta-Programming in Ruby
Tags:
meta
programming
ruby
Speculative Threading: Creating New Methods of Thread-Level Parallelization
Tags:
programming
speculative
threading
Myths, Lies, and Truths about the Linux Kernel
Tags:
kernel
linux
XML.com: Implementing the Atom Publishing Protocol
Tags:
atom
programming
rss
发表于 @
2006年07月25日 10:09:00
|
评论(
loading...
)
|
编辑
新一篇: 书签(2006-07-24)
|
旧一篇: 书签(2006-07-24)
评论:没有评论。
发表评论
姓 名:
主 页:
校验码:
看不清,换一张
当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击
登录