General Discussions · Python Codes

Keylink Data Structure

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 of this data structure can be found at following github link:

Keylink Data Structure



One thought on “Keylink Data Structure

Let me Know What you Think!

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

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

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s