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