Algorithm

Showing 1-3 of 3 results
EngineeringIcon ChevronTechnology

Architecting Optimization Algorithms with HorusLP

by Shanglun Wang

HorusLP is a new Python tool designed to help with the architecture of algorithm development workflows. It provides an architectural framework for the development of optimization algorithms. In this article, Toptal Freelance Software Engineer Shanglun Wang explains how HorusLP came to be and demonstrates its capabilities with a few example algorithms.

22 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Conquer String Search with the Aho-Corasick Algorithm

by Roman Vashchegin

The Aho-Corasick algorithm can be used to efficiently search for multiple patterns in a large blob of text, making it a really useful algorithm in data science and many other areas. In this article, Toptal Freelance Software Engineer Roman Vashchegin shows how the Aho-Corasick algorithm uses a trie data structure to efficiently match a dictionary of words against any text.

16 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Maximum Flow and the Linear Assignment Problem

by Dmitri Ivanovich Arkhipov

The Hungarian graph algorithm solves the linear assignment problem in polynomial time. By modeling resources (e.g., contractors and available contracts) as a graph, the Hungarian algorithm can be used to efficiently determine an optimum way of allocating resources.

25+ minute readContinue Reading

Join the Toptal® community.