Leetcode——72. 编辑距离

题目传送门 推荐看这个题解很精彩 下面给出c++写法 自顶向下c++ class Solution { public: struct HashPair { size_t operator() (const pair<int, int> &a) const { return a.first * 1000007 + a.second; }
相关文章
相关标签/搜索