Skip to content

Commit a6dce4d

Browse files
committed
Update.
1 parent caf33c7 commit a6dce4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cpp-leetcode/lcci17.17-multi-search-lcci_trie.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Solution {
3131
public:
3232
vector<vector<int>> multiSearch(string big, vector<string>& smalls) {
3333
unordered_map<string, vector<int>> cache;
34-
const int n = big.length();
34+
const int n = big.size();
3535
const int m = smalls.size();
3636
vector<vector<int>> res(m);
3737

0 commit comments

Comments
 (0)