假定对有序表:(3,4,5,7,24,30,42,54,63,72,87,95)进行折半查找,试回答下列问题:①若查找元素90,需依次与哪些元素比较?②查找元素54,需依次与哪些元素比较?
举一反三
- 假定对有序表:(3,4,5,7,24,30,42,54,63,72,87,95)进行折半查找,若查找元素54,需依次与哪些元素比较? A: 3,4,5,7 B: 24,30,42,54 C: 30, 63, 42, 87 D: 30, 63, 42, 54
- 假定对有序表:(3,4,5,7,24,30,42,54,63,72,87,95)进行折半查找,试 回答下列问题:若查找元素 54,需依次与哪些元素比较?
- 假定对有序表:(3,4,5,7,24,30,42,54,63,72,87,95)进行折半查找,试 回答下列问题:若查找元素 54,需依次与哪些元素比较?
- 假定对有序表:(3,4,5,7,24,30,42,54,63,72,87,95)进行折半查找。若查找元素54,需依次与哪些元素比较?
- 假定对有序表:(3,4,5,7,24,30,42,54,63,72,87,95)进行折半查找。若查找元素54,需依次与哪些元素比较?