• + 2 comments

    three print statements with for loop, you are linearly searching 3 times the array which increases the complexity right? what special in this code other than reducing LOC