Skip to content

Commit 7a53830

Browse files
committed
Runtime: 58 ms (Top 86.01%) | Memory: 11.8 MB (Top 16.62%)
1 parent 334288d commit 7a53830

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/algorithms/C/Check If a String Can Break Another String/Check If a String Can Break Another String.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
// Runtime: 58 ms (Top 86.01%) | Memory: 11.8 MB (Top 16.62%)
12
class Solution {
23
public:
3-
4+
45
bool checkIfCanBreak(string s1, string s2)
56
{
67
vector<int>freq1(26,0),freq2(26,0);
@@ -33,4 +34,4 @@ class Solution {
3334
}
3435
return check1 || check2;
3536
}
36-
};
37+
};

0 commit comments

Comments
 (0)