摘要: Description:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents... 阅读全文
posted @ 2015-09-06 09:04 Rosanne 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Description:Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.Code:#define NU... 阅读全文
posted @ 2015-09-06 08:35 Rosanne 阅读(140) 评论(0) 推荐(0) 编辑