About 3,820,000 results
Open links in new tab
  1. How does a 'diff' algorithm work, e.g. in VCDIFF and DiffMerge?

    Here is a page that includes a bit of documentation, full source code, and examples of a diff algorithm using the techniques in the aforementioned algorithm. The source code appears to …

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

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

  4. algorithm - What is the best way to get the minimum or maximum …

    Jan 8, 2009 · The naive algorithm is too loop and update min, max. However, a recursive solution will require less comparisons than naive algorithm, if you want to get min, max simultaneously …

  5. algorithm - How does one make a Zip bomb? - Stack Overflow

    Sep 22, 2009 · Citing from the Wikipedia page: One example of a Zip bomb is the file 45.1.zip which was 45.1 kilobytes of compressed data, containing nine layers of nested zip files in sets …

  6. JSchException: Algorithm negotiation fail - Stack Overflow

    The webpage discusses the issue of JSchException: Algorithm negotiation fail in Java and provides solutions to fix it.

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

    Dec 19, 2019 · 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 …

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

  9. algorithm - When should I use Kruskal as opposed to Prim (and …

    Mar 20, 2019 · I was wondering when one should use Prim's algorithm and when Kruskal's to find the minimum spanning tree? They both have easy logics, same worst cases, and only …

  10. Finding the median of an unsorted array - Stack Overflow

    May 19, 2012 · There is still no linear algorithm in existence AFAIK for finding the median of an arbitrary, unsorted dataset. Think about it - a dataset that contains values 1..25 has true …