problemscpp
A collection of my answers to algorithm problems in c++.
静态 Public 成员函数 | 所有成员列表
leetcode::delete_operation_for_two_strings::Solution类 参考

#include <leetcode.h>

静态 Public 成员函数

static int minDistance (const string &word1, const string &word2)
 

详细描述

在文件 leetcode.h2515 行定义.

成员函数说明

◆ minDistance()

int leetcode::delete_operation_for_two_strings::Solution::minDistance ( const string &  word1,
const string &  word2 
)
static

在文件 leetcode.cpp6774 行定义.

6774 {
6776 return word1.length() + word2.length() - 2 * lcs;
6777 }
static int longestCommonSubsequence(string text1, string text2)
Definition: leetcode.cpp:6758

引用了 leetcode::longest_common_subsequence::Solution::longestCommonSubsequence().

被这些函数引用 leetcode::delete_operation_for_two_strings::TEST().


该类的文档由以下文件生成: