Longest substrings without repeating characters: Difference between revisions
Longest substrings without repeating characters (view source)
Revision as of 13:32, 3 August 2021
, 2 years ago→{{header|Wren}}: Tidy.
m (→{{header|REXX}}: matched an invocation to the procedure name.) |
(→{{header|Wren}}: Tidy.) |
||
Line 495:
System.print("The longest substring(s) of the following without repeating characters are:\n")
var strs = ["xyzyabcybdfd", "xyzyab", "zzzzz", "a", ""
for (s in strs) {
var longest = []
Line 506:
longestLen = ss.count
}
longest.add(ss
}
}
|