2018年1月19日

N-Queens(N皇后问题)

摘要: 题目: 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 阅读全文

posted @ 2018-01-19 21:17 夜的第八章 阅读(186) 评论(0) 推荐(0) 编辑

jump game II

摘要: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim 阅读全文

posted @ 2018-01-19 16:06 夜的第八章 阅读(145) 评论(0) 推荐(0) 编辑

导航