Hashing
From: snowteo (matgiu1981_at_virgilio.it)
Date: 05/19/04
- Next message: Rolf Magnus: "Re: Exportable class functions as stand alone functions to .DLL or .SO"
- Previous message: Jeff Schwab: "Re: Exportable class functions as stand alone functions to .DLL or .SO"
- Next in thread: Karl Heinz Buchegger: "Re: Hashing"
- Reply: Karl Heinz Buchegger: "Re: Hashing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 19 May 2004 15:24:26 GMT
Hi,I have to do this exercises can you help me:
1)Write a program to implement exetendible hashing.If the table is small
enough to fin in main memory,how does its performance compare with open and
closed hasing?
2)A basic program consists of a series of statements,each of which is
numbered in ascending order.Control is passed by use of a goto or gosub and
a statement number.Write a program that reads in a legal BASIC program and
renumbers the statements so that the first starts at number f and each
statement has a number d higher than the previous statement.You may assume
an upper limit of n statements,but the statement numbers in the input might
be as large as a 32-bit integer.Your program must run in linear time.
Of it I have resolved many others,but these two I just do not succeed to
make them.Thank you very much
- Next message: Rolf Magnus: "Re: Exportable class functions as stand alone functions to .DLL or .SO"
- Previous message: Jeff Schwab: "Re: Exportable class functions as stand alone functions to .DLL or .SO"
- Next in thread: Karl Heinz Buchegger: "Re: Hashing"
- Reply: Karl Heinz Buchegger: "Re: Hashing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]