General Discussions

Keylink Data Structure

PH Bytes

We often encounter projects and experiments where keywords are associated to the web links. For each of those keywords present in the list, one or more links are collected to gather and process the data related to it. Keylink data structure maintains a web link to every keyword present in the list. The number of links maintained is dependent on the project and the user requirement.

Keylink data structure supports the following operations:

  • Add a new key – adds a new key to the list of keylinks
  • Collect the link – gets the link from the web for the keys present in the keylink which do not have the associated links yet
  • Remove key – removes a key and associated link from the keylink
  • Show – prints the keylink with loaded keys and available links. Prints NULL if no links are collected for the key yet.

Manual and Python implementation…

View original post 14 more words

Advertisements

Let me Know What you Think!

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s