Longest substrings without repeating characters: Difference between revisions
Longest substrings without repeating characters (view source)
Revision as of 02:14, 12 July 2022
, 1 year ago→{{header|J}}: more compact
(J) |
m (→{{header|J}}: more compact) |
||
Line 647:
while. ss=. c ]\ y do.
cnt=. #@~."1 ss
if. c e. cnt do. ~.ss#~ c=cnt return. end.
c=. c-1
end.
|