- 问题来源
- 问题简介
提供一个只有0和1的二维矩阵,求出二维矩阵中每个点到0的最短曼哈顿距离。
注:0到0的距离是0,
candies
- 问题来源
- 问题简介
There are N children standing in a line. Each child is assigned a rating value.
You are giving candies to these children subjected to the following requirements:- Each child must have at least one candy.
- Children with a higher rating get more candies than their neighbors.
What is the minimum candies you must give?
alpha-beta
- 简介
使用Minimax strategy对两人对弈的零和的有穷状态问题进行搜索并对其进行alpha-beta剪枝。