• + 2 comments

    Hi there. A nice solution for the beginners. But instead of using max(b)+1 in the loop range, it is sufficient to use min(b)+1.