About 11,800,000 results
Open links in new tab
  1. What are some algorithms for comparing how similar two strings …

    What you're looking for are called String Metric algorithms. There a significant number of them, many with similar characteristics. Among the more popular: Levenshtein Distance : The …

  2. Fuzzy search algorithm (approximate string matching algorithm)

    The only way I can think of implementing it as a search algorithm is to perform a linear search and executing the string metric algorithm for each string and returning the strings with scores …

  3. algorithm - What is the difference between depth and height in a …

    Dec 1, 2023 · This is a simple question from algorithms theory. The difference between them is that in one case you count number of nodes and in other number of edges on the shortest …

  4. Tower of Hanoi: Recursive Algorithm - Stack Overflow

    Aug 3, 2009 · Although I have no problem whatsoever understanding recursion, I can't seem to wrap my head around the recursive solution to the Tower of Hanoi problem. Here is the code …

  5. What is the fastest substring search algorithm? - Stack Overflow

    Aug 13, 2013 · Each search algorithm comes in several variations that can make significant differences to its performance, as, for example, this paper illustrates. Benchmark your service …

  6. c - Fast CRC algorithm? - Stack Overflow

    Aug 26, 2021 · CRC32 algorithm is exactly what I'm looking for, but I can't use it because the table it requires is way too huge (it is for an embedded system where resources are VERY …

  7. algorithm - Find the majority element in array - Stack Overflow

    Dec 1, 2010 · The algorithm for first phase that works in O (n) is known as Moore’s Voting Algorithm. Basic idea of the algorithm is if we cancel out each occurrence of an element e with …

  8. algorithm - Calculate distance between two latitude-longitude …

    Aug 26, 2008 · How do I calculate the distance between two points specified by latitude and longitude? For clarification, I'd like the distance in kilometers; the points use the WGS84 …

  9. What is the point of IDA* vs A* algorithm - Stack Overflow

    Dec 1, 2016 · In IDA*, unlike A*, you don't need to keep a set of tentative nodes which you intend to visit, therefore, your memory consumption is dedicated only to the local variables of the …

  10. Circle line-segment collision detection algorithm? - Stack Overflow

    Jul 2, 2009 · I have a line from A to B and a circle positioned at C with the radius R. What is a good algorithm to use to check whether the line intersects the circle? And at what coordinate …