摘要:
Given a string that contains only digits 0-9 and a target value, return all possibilities to add binaryoperators (not unary) +, -, or * between the di 阅读全文
posted @ 2015-09-16 21:01
Grandyang
阅读(20167)
评论(6)
推荐(2)
摘要:
在C++和Java的泛式编程中,模板template的使用是必不可少的,但是Java中没有template关键字,所以两者的写法还是有些许区别的,请参见如下代码:Java的模板// Javapublic class Cell { private K _key; private V _va... 阅读全文
posted @ 2015-09-16 12:13
Grandyang
阅读(950)
评论(0)
推荐(0)
摘要:
8.10 Design and implement a hash table which uses chaining (linked lists) to handle collisions.这道题让我们实现一个简单的哈希表,我们采用了最简单的那种取余映射的方式来实现,我们使用Cell来保存一对对的k... 阅读全文
posted @ 2015-09-16 03:12
Grandyang
阅读(1174)
评论(0)
推荐(0)

浙公网安备 33010602011771号