From bed6d221fd1f94f579eff16c531f9153396416fe Mon Sep 17 00:00:00 2001 From: bt3gl <138340846+bt3gl-google@users.noreply.github.com> Date: Sun, 30 Jul 2023 15:56:13 -0700 Subject: [PATCH] Update str-longest-non-repeating.py --- arrays_and_strings/str-longest-non-repeating.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arrays_and_strings/str-longest-non-repeating.py b/arrays_and_strings/str-longest-non-repeating.py index 62c1008..42c8704 100644 --- a/arrays_and_strings/str-longest-non-repeating.py +++ b/arrays_and_strings/str-longest-non-repeating.py @@ -1,4 +1,8 @@ -### find the length of the longest substring without repeating characters +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# author: bt3gl + +# find the length of the longest substring without repeating characters def length_longest_substring(s: str) -> int: