搜索资源列表
Snake
- 贪吃蛇算法,稍微有点不同于网上的。网上的都是把蛇身的所有节点都储存了下来。 数据结构, 不复杂 给个保存蛇头蛇尾地址。还有保存方向的。然后用队列(先进先出表)保存拐点 -This algorithm is slightly different the Snake online. Internet is the snake all nodes are stored down. Data structure is not complex Save snakeheads to
priority-queue
- 优先级队列(priority queue)就是遵循两个排序规则的集合。首先,具有高优先级的项目在先。第二,具有相同优先级的项目使用先进先出方法来确定其排序。-Priority queue (priority queue) is to follow two collations set. First, a high-priority item first. Second, with the same priority projects using the FIFO method to determ
