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. What is the best algorithm for overriding GetHashCode?

    The hashing algorithm needs to be deterministic i.e. given the same input it must always produce the same output. Reduce Collisions The algorithm that calculates a hash code needs to keep hash …

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

  9. Peak-finding algorithm for Python/SciPy - Stack Overflow

    Apr 16, 2015 · The peak-finding algorithm would find the location of these peaks (not just their values), and ideally would find the true inter-sample peak, not just the index with maximum value, probably …

  10. Algorithm to compare two images in C# - Stack Overflow

    Feb 2, 2016 · You could check Algorithm to compare two images in order to see the available methods for image comparison. Unless you want to recreate the full algorithms on your own, you should try to …