Alert user and do not register the click action if user's first click of remove or search operation is somewhere else than the hash table (head pointer of the linked list). Insert operation already has this feature (but it was easier to implement as insert operation is resolved with a single click, with remove and search operations we must track whether the click was the first or not).
Alert user and do not register the click action if user's first click of remove or search operation is somewhere else than the hash table (head pointer of the linked list). Insert operation already has this feature (but it was easier to implement as insert operation is resolved with a single click, with remove and search operations we must track whether the click was the first or not).