algorithm Number of ordered pairs such that (A[i] & A[j])=0 Given array A[] of n integers, find out the number of ordered pairs such that (A[i]&A[j])=0. This can be done using dynamic programming in O(N*(2^N)) time

algorithm Calculating Permutation Coefficient Given n and k, we will calculate permutation coefficient using dynamic programming in O(N * K) time complexity.