I'm having a problem figuring out how to do sample spacing. i need help. For example, how many ways to arrange a deck of cards?

I'm having a problem figuring out how to do sample spacing. i need help. For example, how many ways to arrange a deck of cards? I only need help understanding how to figure out sample spacing for any problem.