As written, each loop iteration in the LIST-SEARC′ procedure
requires two tests: one for x ≠ nil[L] and one for key[x] ≠
k. Show how to eliminate the test for x ≠ nil[L] in each
iteration.




Answer Posted / enoch

You can set the data field of nil[L] to x.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what things abutsbi

1578


WHY WE SELECT U AS A PERTOLEUM ENGINEER THOUGH UR MARKS ARE LESS THEN OTHER APPLICANTS

1695


What kind of question can be asked at the time of Interview for State Bank Of India Clerical Interview

1625


How I can write a java program output the following 1+2+4+7+......N

1481


HELLO ALL OF U.I HAVE QUALIFIED IN SBI CLERICAL WRITTEN EXAMINATION AND MY INTERVIEW IS ON 20TH OF THIS MONTH.IAM SOTWARE BACKGROUNDED CANIDIATE SO CAN ANY ANYBODY WHOSE INTERVIEW IS OVER CAN TELL ME THAT WHAT QUESTIONS THEY ASKED RELATING TO COMPUTER SCIENCE.

1398






1.what a diffrenrs v-lan & (layer)l-3,l-2 bitween plz define defination of these? 2.how to configur ms outlook & lotus note (ibm)

1468


to acheve the IP 65 protection class does it is mandatory to apply silicon grease?

1433


Give the coding for system reboot in C

1414


WHY IBM MAINFRAME TECHNOLOY IS USED.THOUGH, SINCE ITS INTRODUCTION IT HAS NO MAJOR UPDATATION OR MODIFICATION;BUT STILL IT IS IN DEMAND........WWWWWWWWWWWWWWHHHHHYYYYYYYY????????????

1558


what is the difference betweeen far pointer and near pointer

1795


write a c++ program to interchange two-integer number without using the third variable. use concept of constructor overloading.

1787


A code which had some declarations of some data items. There were a couple of normal data items(char,int..) and some pointers as well and a malloc call. You have to find the total memory taken up in the stack(Hint:Pointers and all are allocated in heap, not in stack, so dont count them).Also in most of these questions, they were specifying that the OS was 32 bit

1847


funtionalities of loadining and linking

1472


difference between windows 2003 and windows 2008 server

1647


What is "strstream" ?

1697