Posted by: techGuy February 20, 2009
Login in to Rate this Post:
0
?
you know what
if result < 0 then
return Multiwaysearch(keyList, links[abs(result)],end,searchKey)
end if
end if
should be
Multiwaysearch(keyList,searchKey)
.
.
.
.
if result < 0 then
return Multiwaysearch( links[abs(result)],searchKey)
end if
end if
no need for start and end
but this will cause and infinite recursion if NO MATCH...
lets see if someone has taken Algorithm Analysis class.
if result < 0 then
return Multiwaysearch(keyList, links[abs(result)],end,searchKey)
end if
end if
should be
Multiwaysearch(keyList,searchKey)
.
.
.
.
if result < 0 then
return Multiwaysearch( links[abs(result)],searchKey)
end if
end if
no need for start and end
but this will cause and infinite recursion if NO MATCH...
lets see if someone has taken Algorithm Analysis class.