Skip to content
advanced

Challenge: longest span without a repeat

Implement this from the stub. Hidden tests grade the behaviour you write, not the comments you leave.

Challenge: Longest Span Without a Repeat

export function longestUniqueSpan(input: string): number {
  // Your implementation here
}
challenge — implement from scratchCtrl+↵ submits · Ctrl+Shift+↵ runsstarter code