A high-performance multi-threaded network server capable of managing incoming connections, processing text data, and analysing patterns within the data.
After each line is added, the server checks if it contains the specified search pattern. If a match is found, this triggers additional actions to record the occurrence.
Acceptance criteria:
Create a new pointer next_frequenct_search for each node that links to the next line that contains the search pattern. This allows for efficient retrieval and analysis of the lines later on.
Maintain a counter for each book to track the frequency of lines that contain the search pattern.
After each line is added, the server checks if it contains the specified search pattern. If a match is found, this triggers additional actions to record the occurrence.
Acceptance criteria:
next_frequenct_search
for each node that links to the next line that contains the search pattern. This allows for efficient retrieval and analysis of the lines later on.{rank} --> Book: {book_title}, Pattern: "{search_pattern}", Frequency: {frequency_count}.