[综合|聊天·二手转让] 红黑树之歌

jose · 发布于 2012-08-31 00:15 · 1583 次阅读
203
本帖最后由 jose 于 2012-8-31 00:19 编辑

在线播放请点右边        

The Red-Black Tree Song

下载地址点此下载
[To the tune of Paint It Black, with my utmost apologies to the Rolling Stones]


I see a brand new node I want to paint it black.

We need a balanced tree, we've got to paint it black.

I want to find my key in log n time -- thats all, Rotating sub-trees 'round sure can be a ball.

I see a brand new node I want to paint it black.

Can't have a lot of red nodes, We must paint them black.

Unfortunately, coding them can be a bitch. If we had half a brain to splay trees we would switch.

I see a brand new node I want to paint it black.

No time for AVL trees we must paint it BLACK.

And if they're still confusing, you should have no fear. Because outside this class, of them you'll never hear.

I wanna paint 'em BLACK. Paint nodes black. Again and again.


?Copyright 1995 Sean D. Sandys. You may link to this page but may not reproduce its contents in any way without the author's written permission.

最近在跟STLmap奋战中~不由得想起来这首歌,哈哈哈~
共收到 4 条回复
admin · #2 · 2012-8-31 01:02:23  回复 支持 反对
感觉又上进又颓废啊 ~

点评

要的就是这种感觉啊~哈哈  详情 回复 发表于 2012-8-31 03:36
jose · #3 · 2012-8-31 03:36:13  回复 支持 反对
admin 发表于 2012-8-31 01:02
感觉又上进又颓废啊 ~

要的就是这种感觉啊~哈哈
hslx111 · #4 · 2012-8-31 08:14:08  回复 支持 反对
这样可以做成歌曲,好厉害- -
mybreeze77 · #5 · 2012-8-31 09:39:59  回复 支持 反对
膜拜~
回帖
B Color Image Link Quote Code Smilies
Command + Enter
快速回复 返回顶部 返回列表