2014年12月31日

Binary Search Tree Iterator

摘要: Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST.Callingnext()will return the next... 阅读全文

posted @ 2014-12-31 22:43 luckygxf 阅读(345) 评论(0) 推荐(0) 编辑

C++中的static关键字(转)

摘要: 原出处:http://blog.csdn.net/hackbuteer1/article/details/7487694C++的static有两种用法:面向过程程序设计中的static和面向对象程序设计中的static。前者应用于普通变量和函数,不涉及类;后者主要说明static在类中的作用。一、面... 阅读全文

posted @ 2014-12-31 09:44 luckygxf 阅读(148) 评论(0) 推荐(0) 编辑

导航