What if the input n is even number?

If N is even let’s say 6 then N-3/2 (for finding no of rows in component two) is 1.5

In day 1 problem, making ganesha pattern

hi @gkataria987

it is mention in the question that n is always odd