if input and output:
0 1 2 3 4 5 6 7 =>input
5 7 1 2 6 4 0 3 =>output
each element must go to the below one as 0 to 5, 1 to 7 etc
i want to know if input 0 to 5 the next must be 4 but from output to 5 in input then take 4 in input to 6 in output then take 7 from output to 1 in input and etc
i want know how to do this by java code please help me thanks
note: in benes 0,1 /2,3/4,5/6,7 in each group if taken element the next must be the other
0 1 2 3 4 5 6 7 =>input
5 7 1 2 6 4 0 3 =>output
each element must go to the below one as 0 to 5, 1 to 7 etc
i want to know if input 0 to 5 the next must be 4 but from output to 5 in input then take 4 in input to 6 in output then take 7 from output to 1 in input and etc
i want know how to do this by java code please help me thanks
note: in benes 0,1 /2,3/4,5/6,7 in each group if taken element the next must be the other
Comment