1 min readhttps://www.geeksforgeeks.org/count-derangements-permutation-such-that-no-element-appears-in-its-original-position/