Kindly help me to get an easy way to find all 24 different combinations of a given 4 digit number
example: given a 4 digit number of 1234
1234, 1342, 1324, 1423, 1432, 2134, 2143, 2314, 2341, 2413, 2431, 3124, 3142, 3214, 3241, 3412, 3421, 4123, 4132, 4213, 4231, 4312, 4321
i need to find a way to find similar numbers if i get any 4 digit number
Bookmarks