Laboratory work №6 from NRNU MEPhI 1-st semester done with priority queue.
The task was to delete words that contain one of the N most frequent non-space symbols from the string.
The string is stored in the memory as an immutable linked list of words.