Skip to content

Commit 9ca7c70

Browse files
authored
VVI
1 parent 63cb322 commit 9ca7c70

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

solutions/14_longest_common_prefix.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//Solution-1: Brute Force Approach
22
//Time: O(N^2)
33
//Space: O(N)
4-
54
class Solution {
65
public:
76
string longestCommonPrefix(vector<string>& strs) {
@@ -25,7 +24,6 @@ class Solution {
2524
//Solution-2: Optimal Approach
2625
//Time: O(N*logN)
2726
//Space: O(N)
28-
2927
class Solution {
3028
public:
3129
string longestCommonPrefix(vector<string>& strs) {

0 commit comments

Comments
 (0)