If you cant get it, you should rely on Mathematics.
Combinations.
Problem 1)
There are five switches, list out all the orders of hitting the switches without hitting one twice or without hitting it at all.
Solution:
5!=5x4x3x2x1
=120
There are 120 orders of hitting the switches.
Eg: 12345, 12354, 12435.........