摘要: The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all 阅读全文
posted @ 2015-05-22 16:19 linqiaozhou 阅读(232) 评论(0) 推荐(0) 编辑
摘要: Jump Game I Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represent 阅读全文
posted @ 2015-05-22 10:28 linqiaozhou 阅读(756) 评论(0) 推荐(0) 编辑