About 27,300,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. What is Sliding Window Algorithm? Examples? - Stack Overflow

    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 about?

  3. What is the difference between a heuristic and an algorithm?

    Feb 25, 2010 · An algorithm is the description of an automated solution to a problem. What the algorithm does is precisely defined. The solution could or could not be the best possible one …

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

  5. Is there an efficient algorithm to generate a 2D concave hull?

    The answer may still be interesting for somebody else: One may apply a variation of the marching square algorithm, applied (1) within the concave hull, and (2) then on (e.g. 3) different scales …

  6. algorithm - Difference and advantages between dijkstra & A star

    Oct 23, 2012 · A* is just like Dijkstra, the only difference is that A* tries to look for a better path by using a heuristic function which gives priority to nodes that are supposed to be better than …

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

  8. What is the optimal algorithm for the game 2048? - Stack Overflow

    Mar 12, 2014 · AI Algorithm I found a simple yet surprisingly good playing algorithm: To determine the next move for a given board, the AI plays the game in memory using random moves until …

  9. algorithm - What is the difference between depth and height in a …

    Dec 1, 2023 · This is a simple question from algorithms theory. The difference between them is that in one case you count number of nodes and in other number of edges on the shortest …

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