摘要: 一个有N个整数元素的一维数组(A[0]、A[1],...A[n-1]),求子数组之和的最大值。 例子:[1, -2, 3, 5, -3, 2] 返回:8[0, -2, 3, 5, -1, 2] 返回:9[-9, -2, -3, -5, -3] 返回:-2 需要注意的是,如果考虑到数组首尾相连,则 1 阅读全文
posted @ 2017-03-29 09:21 殷子健 阅读(127) 评论(0) 推荐(0) 编辑
摘要: @Rulepublic ActivityTestRule<MainActivity>mActivityRule = new ActivityTestRule<>(MainActivity.class); @Textpublic void sayHello(){onView(withId(R.id.e 阅读全文
posted @ 2017-03-29 09:14 殷子健 阅读(123) 评论(0) 推荐(0) 编辑