The worst case occurs in Linear search algorithm when( )
A、Item is somewhere in the middle of the array
B、Item is not in the array at all
C、Item is the last element in the array
D、Item is the last element in the array or is not there at all.
发布时间:2025-03-16 16:43:43