Skip to content

Commit 6926818

Browse files
authored
Update frequencies-of-shortest-supersequences.cpp
1 parent ddd0c9f commit 6926818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/frequencies-of-shortest-supersequences.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Time: O(n + k^2 * 2^k), k = len(char_to_int) <= 16
22
// Space: O(k^2)
33

4-
// topological sort, bitmasks
4+
// bitmasks, topological sort
55
class Solution {
66
public:
77
vector<vector<int>> supersequences(vector<string>& words) {

0 commit comments

Comments
 (0)