Question
How many different nine digit numbers can be formed
from the number 66 55 99 222 by rearranging its digits so that the odd digits occupy even positions only?Solution
Number of even places = 4 Number of even digits = 5 (6,6,2,2,2) Number of odd places = 5 Number of odd digits = 4 (5,5,9,9) Since 5 & 9 are repeated two times odd digits can be arranged in 4!/(2!×2! ) = 6 ways Since 6 is repeated two times & 2 is repeated three times even digits can be arranged in 5!/(2! ×3!) = 10 ways Hence, the required number of ways = 6 × 10 = 60 ways.
Which database management system feature helps ensure that all transactions are completed successfully and consistently? Â Â
...For a given array, there can be multiple ways to reach the end of the array using minimum number of jumps.
Which search strategy guarantees the optimal solution?
What will be the output of the following code when printList is called with a linked list containing the values 1 -> 2 -> 3?
class Node:
�...
Which algorithm is most suitable for solving optimization problems in Numerical and Statistical Computing?
Bitwise operators in C++
Which of the following page replacement algorithms results in the lowest page-fault rate for a given reference string but is often impractical to implem...
Given the following code snippet implementing a Round Robin CPU scheduling algorithm, what will be the output when the processes are scheduled?
d...
In deep learning, which type of neural network is most suitable for sequential data like time series?
Which of the following is defined as an attempt to steal, spy, damage or destroy computer systems, networks, or their associated information?