4.操作契约 Operation Contracts “用例描述”的补充 强调: 用例中重要的动作,其开始与结束是需要一些约束 4.5 操作契约的后置条件 定义Definition 后置条件描述了领域对象状态的变化 describe changes in the state of objects in the domain model 状态变化包括 是否创建.删除了对象?instances created / deleted 对象间的关系是否发生变化?associat…
Given two words word1 and word2, find the minimum number of steps required to make word1 and word2 the same, where in each step you can delete one character in either string. Example 1: Input: "sea", "eat" Output: 2 Explanation: You ne…