About 24,200,000 results
Open links in new tab
  1. 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 …

  2. algorithm - Finding all possible combinations of numbers to reach …

    Jan 8, 2011 · How would you go about testing all possible combinations of additions from a given set N of numbers so they add up to a given final number? A brief example: Set of numbers to …

  3. How does a 'diff' algorithm work, e.g. in VCDIFF and DiffMerge?

    The algorithm was independently discovered as described in "Algorithms for Approximate String Matching", E. Ukkonen, `Information and Control' Vol. 64, 1985, pp. 100-118. Reading the …

  4. algorithm - Peak signal detection in realtime timeseries data

    Robust peak detection algorithm (using z-scores) I came up with an algorithm that works very well for these types of datasets. It is based on the principle of dispersion: if a new datapoint is a …

  5. Big O, how do you calculate/approximate it? - Stack Overflow

    Most people with a degree in CS will certainly know what Big O stands for. It helps us to measure how well an algorithm scales. But I'm curious, how do you calculate or approximate the …

  6. algorithm - 3D Least Squares Plane - Stack Overflow

    Sep 9, 2009 · This is a comment. If someone would be so kind as to move it into the comments for Stephen Canon's answer, that would be great. This, I hope, clarifies what the heck he …

  7. algorithm - Looping in a spiral - Stack Overflow

    Dec 30, 2008 · A friend was in need of an algorithm that would let him loop through the elements of an NxM matrix (N and M are odd). I came up with a solution, but I wanted to see if my fellow …

  8. algorithm - how to calculate binary search complexity - Stack …

    Nov 18, 2011 · 5 The time complexity of the binary search algorithm belongs to the O (log n) class. This is called big O notation. The way you should interpret this is that the asymptotic …

  9. algorithm - Use Dijkstra's to find a Minimum Spanning Tree?

    Mar 14, 2017 · Prim's Algorithm, which is known to produce a minimum spanning tree, is highly similar to Dijkstra's Algorithm, but at each stage it greedily selects the next edge that is closest …

  10. 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 …