摘要: Find the contiguous subarray within an array (containing at least one number) which has the largest sum. 阅读全文
posted @ 2017-05-15 18:23 JeffLai 阅读(88) 评论(0) 推荐(0) 编辑
摘要: Follow up for N-Queens problem. Now, instead outputting board configurations, return the total number of distinct solutions. 阅读全文
posted @ 2017-05-15 12:03 JeffLai 阅读(133) 评论(0) 推荐(0) 编辑