About 50 results
Open links in new tab
  1. 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 …

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

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

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

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

  6. How do I check if a number is a palindrome? - Stack Overflow

    Oct 14, 2008 · How do I check if a number is a palindrome? Any language. Any algorithm. (except the algorithm of making the number a string and then reversing the string).

  7. CRC16 (ModBus) - computing algorithm - Stack Overflow

    Mar 15, 2019 · In the algorithm itself, we use the reversed polynomial 0xA001 instead of 0x8005.This is because we apply the algorithm starting from the least significant bit instead of …

  8. Algorithm to compare two images - Stack Overflow

    Apr 18, 2015 · Why could this be useful? Dependant on the morphing algorithm you use, there may be a relationship between similarity of images, and some parameters of the morphing …

  9. math - Algorithm for finding similar images - Stack Overflow

    Sep 17, 2008 · I need an algorithm that can determine whether two images are 'similar' and recognizes similar patterns of color, brightness, shape etc.. I might need some pointers as to …

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