0 votes 0 votes Develop an algorithm for generating the $r$-permutations of a set of $n$ elements. Combinatory kenneth-rosen discrete-mathematics counting combinatory descriptive + – admin asked May 1, 2020 admin 229 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes 1. Let us take two variables r and n (r<=n) 2. Permutation (n,r) 3.for (I=n,i<=n-r+1,i--) do n*r 4.sum of all these products 5.final answer.// ( I am not sure , I require help) DIBAKAR MAJEE answered May 1, 2020 DIBAKAR MAJEE comment Share Follow See all 0 reply Please log in or register to add a comment.