Performance Comparison of Different Code Implementations of the KMP Algorithm
This paper presents a performance comparison of diverse implementations of the KMP algorithm, a widely employed string matching technique for efficiently searching patterns in text. The study evaluates the time complexity, space complexity, and execution efficiency of different code versions. Key findings are derived from a review of relevant literature, focusing on advantages and challenges of various implementations. The experimental setup and performance metrics are described, comparing time and space usage across different implementations. The results are interpreted, discussing the significance of selecting the appropriate implementation for specific applications. The paper concludes with recommendations for future research and potential optimizations.
Authors
- Jiayi Tan
Institutions
- Nanjing Foreign Language School (CN)
Publication Details
- Journal
- Applied and Computational Engineering
- Published
- 2024-12-19
- DOI
- https://doi.org/10.54254/2755-2721/2025.18467
- Primary Topic
- Advanced Algorithms and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00