AlgoGenesis / C

AlgoGenesis is a centralized open-source platform dedicated to providing optimized and well-documented algorithm implementations in C. Perfect for both beginners and advanced users, this repository serves as a comprehensive learning resource for solving algorithmic challenges.
MIT License
46 stars 146 forks source link

[NEW ALGORITHM] I would like to enhance String Algorithms by adding the following new Algorithms i.e. Floyd's Tortoise and Hare Algorithm (Cycle Detection), Suffix Array Construction, Burnside's Lemma (Counting Symmetries) #306

Closed amanver45 closed 2 days ago

amanver45 commented 4 days ago

Description:

1.Floyd's Tortoise and Hare Algorithm (Cycle Detection) :This algorithm is used to detect cycles in a linked list or find repeated elements in sequences. It's also known as the "Tortoise and Hare" algorithm and operates in O(n) time with O(1) space. 2.Suffix Array Construction A Suffix Array is an array of all suffixes of a string, sorted in lexicographical order. It can be used for pattern matching, longest common prefix, etc. 3.Burnside's Lemma (Counting Symmetries) Burnside's Lemma is used in group theory to count the number of distinct objects under symmetry operations. This is particularly useful in combinatorics for counting colorings, patterns, etc.

Checklist:

github-actions[bot] commented 4 days ago

👋 Thank you for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!

pankaj-bind commented 2 days ago

mention only one