Few things to clarify:
line *list.List -> is used only for removing the keys based on its expiration as a storage?
We might use min heap and check if the root is still alive or not and delete it?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Few things to clarify:
line *list.List -> is used only for removing the keys based on its expiration as a storage?
We might use min heap and check if the root is still alive or not and delete it?