diff --git a/arrays_and_strings/array-check-if-exist.py b/arrays_and_strings/array-check-if-exist.py index b15f3ca..268aff7 100644 --- a/arrays_and_strings/array-check-if-exist.py +++ b/arrays_and_strings/array-check-if-exist.py @@ -1,3 +1,7 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# author: bt3gl + """ Given an array arr of integers, check if there exist two indices i and j such that : @@ -24,4 +28,4 @@ def check_if_exist(arr: list[int]) -> bool: if __name__ == "__main__": arr = [-2, 0, 10, -19, 4, 6, -8] - print(check_if_exist(arr)) \ No newline at end of file + print(check_if_exist(arr))