TheAlgorithms / Python

All Algorithms implemented in Python
https://thealgorithms.github.io/Python/
MIT License
194.4k stars 45.66k forks source link

Suffix Tree Data Structure Implementation #11555

Closed Ramy-Badr-Ahmed closed 2 months ago

Ramy-Badr-Ahmed commented 2 months ago

Describe your change:

This pull request adds an implementation of the Suffix Tree data structure along with related functionalities, such as pattern searches.

Definition: The Suffix Tree is a compressed trie of all the suffixes of a given text used for for substring search and various other string-processing operations. (URL: Suffix Tree).

Implementation Details:

Example Usage:

Unit Tests:

algorithms-keeper[bot] commented 2 months ago

Closing this pull request as invalid

@Ramy-Badr-Ahmed, this pull request is being closed as none of the checkboxes have been marked. It is important that you go through the checklist and mark the ones relevant to this pull request. Please read the Contributing guidelines.

If you're facing any problem on how to mark a checkbox, please read the following instructions:

NOTE: Only [x] is supported so if you have put any other letter or symbol between the brackets, that will be marked as invalid. If that is the case then please open a new pull request with the appropriate changes.