很多题我都是用perl/php做的。喜欢极了PERL的Reg Exp。真好。
1 -
Part A: Take an array of URLs containing query strings. The query string of
each URL
may contain a field of 'refsrc', set to some value. Collate the URLs into a
hash table
where the refsrc is the key and the value is another hash table where the UR
L is the key
and the value is the number of times that path was encountered. Store these
tables into a
database table. Please show the schema that is needed.
Part B: Why would we do this?