Cuckoo search is an optimization algorithm inspired by cuckoos that lay eggs in other birds' nests. It works by representing each potential solution as an "egg" in a nest, with the aim of replacing poor solutions with new, potentially better ones. There are three main rules: each cuckoo lays one egg at a time in a randomly chosen nest; the best nests carrying high-quality eggs carry over to the next generation; and some host birds can detect alien eggs and abandon the nest, requiring the cuckoo to lay again in a new nest. The algorithm uses random walks to explore the search space and find optimal solutions. It is simple to implement compared to other metaheuristic algorithms and has been successfully applied