Longest substrings without repeating characters: Difference between revisions

m (→‎{{header|REXX}}: matched an invocation to the procedure name.)
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.join())
}
}
9,477

edits