Playing with cards Stack


Is it the correct approach to do?
I made an array of stacks.
It’s successfully submitted

Yes it’s also correct