摘要: 参考文档: avl树:http://lib.csdn.net/article/datastructure/9204 avl树:http://blog.csdn.net/javazejian/article/details/53892797 红黑树:http://daoluan.net/%E6%95% 阅读全文
posted @ 2018-01-23 18:32 情歌z 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 一、求所有子数组的和的最大值 public static void main(String[] args) { int[] a = { 1, -2, 3, 10, -4, 7, 2, -5 }; FindMaxSubAry(a); } public static void FindMaxSubAry 阅读全文
posted @ 2018-01-23 17:10 情歌z 阅读(353) 评论(0) 推荐(0) 编辑