
Newest 'algorithm' Questions - Stack Overflow
1answer 205views Fast algorithm to find the union of many integer vectors [closed] I need to find the union of many (about 1M) 64-bit integer vectors, each has about 10K integers. There are …
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 …
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 …
What are the differences between NP, NP-Complete and NP-Hard?
Dec 7, 2009 · We see that this algorithm halts if and only if I is satisfiable. Thus, if we had a polynomial time algorithm for solving the halting problem then we could solve SAT in …
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 …
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 …
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 …
What is Sliding Window Algorithm? Examples? - Stack Overflow
Nov 25, 2011 · While solving a geometry problem, I came across an approach called Sliding Window Algorithm. Couldn't really find any study material/details on it. What is the algorithm …
What algorithms compute directions from point A to point B on a …
Jan 10, 2009 · An all-pairs shortest path algorithm will compute the shortest paths between all vertices in a graph. This will allow paths to be pre-computed instead of requiring a path to be …
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 …