About 13,200,000 results
Open links in new tab
  1. The best shortest path algorithm - Stack Overflow

    What is the difference between the "Floyd-Warshall algorithm" and "Dijkstra's Algorithm", and which is the best for finding the shortest path in a graph? I need to calculate the shortest path …

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

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

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

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

  6. algorithm - Fastest Sorting Technique - Stack Overflow

    I have been trying various sorting algorithms for past few days. Starting from 1) Algorithms with O(n^2) time complexity sorting 2) O(n log n) time complexity with in place and out of place sorting

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

  8. a star - A* Search Algorithm - Stack Overflow

    At each iteration the algorithm chooses a node to expand from the open set (the one with the lowest f function - the f function is the sum of the cost the algorithm already knows it takes to …

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

  10. jwt - RS256 vs HS256: What's the difference? - Stack Overflow

    Aug 31, 2016 · Both choices refer to what algorithm the identity provider uses to sign the JWT. Signing is a cryptographic operation that generates a "signature" (part of the JWT) that the …