About 25,400,000 results
Open links in new tab
  1. How can I find the time complexity of an algorithm?

    1. Introduction In computer science, the time complexity of an algorithm quantifies the amount of time taken by an algorithm to run as a function of the length of the string representing the …

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

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

  4. Algorithm for simplifying decimal to fractions - Stack Overflow

    My algorithm (short explanation) To fully understand my algorithm, you need to have read the article by Ian Richards or at least understand what a Farey pair is. Furthermore, read the …

  5. What's a good algorithm to generate a maze? - Stack Overflow

    This algorithm results in Mazes with about as high a "river" factor as possible, with fewer but longer dead ends, and usually a very long and twisty solution. It runs quite fast, although …

  6. What's the fastest algorithm for sorting a linked list?

    1 As I know, the best sorting algorithm is O (n*log n), whatever the container - it's been proved that sorting in the broad sense of the word (mergesort/quicksort etc style) can't go lower. …

  7. Image comparison - fast algorithm - Stack Overflow

    Each algorithm is best suited for certain types of image transformations and you can take advantage of that. At the top, the fastest algorithms; at the bottom the slowest (though more …

  8. algorithm - Bellman-Ford vs Dijkstra: Under what circumstances is ...

    76 After a lot of Googling, I've found that most sources say that the Dijkstra algorithm is "more efficient" than the Bellman-Ford algorithm. But under what circumstances is the Bellman-Ford …

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

  10. What's the algorithm behind minesweeper generation

    7 A Strong Algorithm Here is an implementation of a MineSweeper algorithm. This algorithm takes into account some conditions while generating the map, and also performs a solver algorithm …