suppose three dices are there A,B,C, three are rolled independently, see we get 4 difference between max and min when we get either (1,5) or (2,6) in any of the two dices. okay?
1st case: we get (1,5), 1 and 5 can be the result of any of the two dice in 3C2=3 ways, either (A-B) or (B-C) and (C-A) and also they can be permutated between them,so 3C2*2! ways possible, now for each way 3rd result can come either 1 or 2 or 3 or 4 or 5(6 cant be possible as min:1 and max:5) But we cant do 3C2*2!*5 because then (1,1,5), (1,5,1),(5,1,1),(1,5,5),(5,1,5),(5,5,1) all these 6 ways are counted two times.So we do like below:
When 3rd result is 1, no of ways=3!/2!=3 because its no of permutation of 1,1 and 5
When 3rd result is 5,no of ways=3!/2!=3 because its no of permutation of 1,5 and 5
when 3rd result is 2 or 3 or 4, 3C2*2!*3=18 ways possible.so totally 18+3+3=24
2nd case: we get (2,6), 2 and 6 can be the result of any of the two dice in 3C2=3 ways, either (A-B) or (B-C) and (C-A) and also they can permutate between them,so 3C2*2! ways possible, now for each way 3rd dice result can come either 2 or 3 or 4 or 5 or 6(min:2 and max:6) But we cant do 3C2*2!*5, So we do like below:
Similarly as shown above, when 3rd result is 2 or 6,no of ways=2*3!/2=6 ways possible,when 3rd result is 3 or 4 or 5,3C2*2!*3 =18 ways possible.So totally 18+6=24 ways possible.
Finally total=24+24=48 ways possible
sample space= 6^3=216
so probability= 48/216=2/9