• + 0 comments

    Because as per this method the solution is an index.

    The element at index 0 will always be zero, as no bird has a type 0. Accordingly for 1-5 indices 1 - 5 will be assigned and taking total number of initialized 0's to 6.