• + 2 comments

    yes, you should not intialize maximum to zero its better to intialize with a large negative number