Question: algorithms analysis and design fast please Let array Al = {20, 22, 33, 36, 38, 49, 50, 61,63, 73, 74, 77, 85, 90, 97} and

algorithms analysis and design

fast please
Let array Al = {20, 22, 33, 36, 38, 49, 50, 61,63, 73, 74, 77, 85, 90, 97} and the search key K =90. In the interpolation search we find the key after a. 2 iterations O b. 4 iterations O c. 3 iterations d. 1 iteration Let the selected chromosome X is 10110 represents array of five bits and the fitness function is f(x)= decimal (%) - (X[O] XOR X[2] XOR X[4] )*3. The cross over (must increase the fitness function) is one digit which is one of digits 0,2,4, then after cross over the chromosome becomes a. 00110 b. 10111 c. 10010 d. 10110
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
