InterviewSolution
 Saved Bookmarks
    				| 1. | 
                                    There is a set of 10 integers {0,1,2,3,...,9}. In how many ways you can permute this set of integers such that either 3 and 6 or 5 and 4 or 6 and 5 appear consecutively? (For example, we do not count (4,5,0,6,9,2,3,7,8,1), as we want 5 and 4 to appear consecutively in that order. But we count (7,2,0,1,4,3,6,5,8,9), both 3 and 6 and 5 appear consecutively in it.) | 
                            
| 
                                   
Answer»  962640  | 
                            |