educative.io

Why the slice y is of length 2 and capacity 4?

why the slice y is of length 2 and capacity 4 ? I think y is of length 4 and capacity 4

Hi @sshi0919

You’re right, it should be length 4 and capacity 4. The lesson has been updated accordingly.

1 Like

thank you!

1 Like