Tag: CS50

  • Harvard CS50’s Artificial Intelligence with Python Day1: Search

    Harvard CS50’s Artificial Intelligence with Python Day1: Search

    Search Algorithms (搜索算法) Definition (定义): Search algorithms are used to find solutions by exploring different states or configurations of a problem. They are fundamental in areas such as pathfinding, game playing, and puzzle solving. 搜索算法用于通过探索问题的不同状态或配置来寻找解决方案。它们在路径查找、游戏和拼图解决等领域中是基础。 Types of Search Algorithms (搜索算法的类型): Uninformed Search (无信息搜索,盲目搜索): Breadth-First Search (BFS) (广度优先搜索): Explores all nodes…