Block Interview Question

Array splicing with deck of cards as the array. Class problem, want you to implement a stack with push, pop features