摘要: Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1 ... n. Example: Input: 3 Output: [ [1,null,3,2], 阅读全文
posted @ 2015-02-26 13:16 Grandyang 阅读(22709) 评论(9) 推荐(3) 编辑
摘要: :-) smile:-] polite smile:-( frown:-[ another frown:-/ or :-\ skepticism, annoyance, or a slight frown:-| indecision, deadpan, or indifference; also o... 阅读全文
posted @ 2015-02-26 06:50 Grandyang 阅读(10094) 评论(0) 推荐(0) 编辑
摘要: Qt中的信号槽系统是不同类中间传递数据的神器,如果连接父子空间之间的信号槽很重要,在父类中实例化子类的时候一定要注意将父类连上,不然信号槽无法使用,比如若子类是个对话框Dialog类,一定不要忘了加thisQtClass *qc = new QtClass(this);qc->exec();然后如果... 阅读全文
posted @ 2015-02-26 05:41 Grandyang 阅读(2578) 评论(0) 推荐(1) 编辑
Fork me on GitHub