About 50 results
Open links in new tab
  1. algorithm - Difference between Big-O and Little-O Notation - Stack …

    Sep 1, 2009 · Algorithm A can't tell the difference between two similar inputs instances where only x 's value changes. If x is the minimum in one of these instances and not in the other, then A will fail to …

  2. How can I determine whether a 2D Point is within a Polygon?

    Oct 20, 2008 · 2 Here's an algorithm faster than everybody else's algorithm for most cases. It's new and elegant. We spend O(n * log(n)) time building a table that will allow us to test point-in-polygon in …

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

  4. 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 follow the basic …

  5. Newest 'algorithm' Questions - Stack Overflow

    Jan 30, 2026 · On the wikipedia page about junction tree algorithm there is an algorithm for finding a junction tree of a graph working by finding the maximal weight spanning tree of a clique graph …

  6. algorithm - Calculate distance between two latitude-longitude points ...

    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 system and I'd like to …

  7. algorithm - What is the difference between depth and height in a tree ...

    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 path between …

  8. How to get an MD5 checksum in PowerShell - Stack Overflow

    Get-FileHash <filepath> -Algorithm MD5 This is certainly preferable since it avoids the problems the solution for older PowerShell offers as identified in the comments (uses a stream, closes it, and …

  9. Why does Dijkstra's algorithm work? - Stack Overflow

    May 18, 2010 · I understand what Dijkstra's algorithm is, but I don't understand why it works. When selecting the next vertex to examine, why does Dijkstra's algorithm select the one with the smallest …

  10. What is the fastest hash algorithm to check if two files are equal?

    Nov 19, 2009 · What is the fastest way to create a hash function which will be used to check if two files are equal? Security is not very important. Edit: I am sending a file over a network connection, and will...