174. Dungeon Game[H] 问题 思路 174. Dungeon Game[H] 问题 he demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists ...
064. Minimum Path Sum[M] 题目 思路 DP 一维数组 064. Minimum Path Sum[M] 题目 Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which m...
API 测试 API 测试 API(Application Programming Interface)测试 的自动化是软件测试最基本的一种类型。从本质上来说,API 测试是用来验证组成软件的那些单个方法的正确性,而不是测试整个系统本身。 API 测试也称为单元测试(Unit Testing)、模块测试(Module Testing)、组件测试(C...
5.1 词意消歧 5.1 词意消歧 在词意消歧中,我们要算出特定上下文中的词被赋予的是哪个意思。思考存在歧义的词 serve 和 dish: >>> sorted ( set ( w . lower () for w in text1 )) >>> sorted ( w . lower () for w in set (...