第二题如果是整数好办,如果有小数就不知道了。
第三题我在一个它妈的金融软件公司考过,是3个list,不是2个。过了半小时总算搞出来了。这鸟公司开始根本没通知我要考试。
• 第三题是不是一个list,或栈就行了? -feicen- ♀ (101 bytes) () 05/09/2009 postreply 16:42:02
• 或者不用list或栈,直接读文件,比较,然后写文件 -feicen- ♀ (66 bytes) () 05/09/2009 postreply 16:58:57
• 回复:或者不用list或栈,直接读文件,比较,然后写文件 -hello2- ♂ (69 bytes) () 05/09/2009 postreply 17:01:02
• 如果排序的话,那就太简单了,这个题是open的,是考实际问题解决 -feicen- ♀ (83 bytes) () 05/09/2009 postreply 17:04:40
• 但我还是觉得是考排序:) -戏雨飞鹰- ♀ (0 bytes) () 05/09/2009 postreply 17:34:54
• meant to follow up with feicen. -戏雨飞鹰- ♀ (0 bytes) () 05/09/2009 postreply 17:36:42
• 考排序的话就不会说给的两个原文件是排好的了 -feicen- ♀ (199 bytes) () 05/09/2009 postreply 17:48:13
• hmm. makes sense. thanks. -戏雨飞鹰- ♀ (0 bytes) () 05/09/2009 postreply 17:59:21
• 回复:考排序的话就不会说给的两个原文件是排好的了 -hello2- ♂ (99 bytes) () 05/09/2009 postreply 18:38:17
• 无论如何,我认为feicen给的算法是performance最好的:) -戏雨飞鹰- ♀ (0 bytes) () 05/10/2009 postreply 11:40:23
• 系统page时会不停移动数据块组合成大块内存---超级慢 -what124- ♂ (305 bytes) () 05/11/2009 postreply 05:26:51
• 同意你对算法的分析。跟feicent说的一致。关于女程序员的说法, -戏雨飞鹰- ♀ (340 bytes) () 05/11/2009 postreply 07:01:35
• 第一题也没有完全弄懂,具体的要求功能,所以不好说 -feicen- ♀ (0 bytes) () 05/09/2009 postreply 17:00:25
• as I remember, binary, oct and hex are only -yma16- ♂ (31 bytes) () 05/09/2009 postreply 19:04:29