About 9,660,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 betw...

  2. is dijkstra an A* algorithm? - Stack Overflow

    May 23, 2025 · The A* algorithm algorithm can be seen as a generalisation of Dijkstra's algorithm, but there is one caveat: Dijkstra's algorithm can be used to efficiently find shortest paths to all nodes in a …

  3. Newest 'algorithm' Questions - Stack Overflow

    Nov 19, 2011 · 363 views Efficient algorithm to count contiguous subarrays that can form arithmetic progressions I'm working on a problem where I need to count, for each possible common difference …

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

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

  6. 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 but you know from …

  7. algorithm - What does O (log n) mean exactly? - Stack Overflow

    Feb 22, 2010 · A common algorithm with O (log n) time complexity is Binary Search whose recursive relation is T (n/2) + O (1) i.e. at every subsequent level of the tree you divide problem into half and do …

  8. Where can I find information on the D* or D* Lite pathfinding algorithm?

    May 24, 2010 · As opposed to repeated A* search, the D* Lite algorithm avoids replanning from scratch and incrementally repair path keeping its modifications local around robot pose. if you would like to …

  9. c - How is a CRC32 checksum calculated? - Stack Overflow

    Your code is a bit hard to understand, partly because it's incomplete: temp and testcrc are not declared, so it's unclear what's being indexed, and how much data is running through the algorithm. The way …

  10. Circle line-segment collision detection algorithm? - Stack Overflow

    Jul 2, 2009 · I have a line from A to B and a circle positioned at C with the radius R. What is a good algorithm to use to check whether the line intersects the circle? And at what coordinate along the …