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

  2. Newest 'algorithm' Questions - Stack Overflow

    Which shortest path algorithm should I use for a weighted city road network in Python? [closed] I am working on a real-world navigation problem where a city road network is represented as a weighted …

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

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

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

  6. 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 algorithm. In a …

  7. Shortest distance between points algorithm - Stack Overflow

    Oct 21, 2009 · 28 I can't immediately think of a quicker alternative than the brute force technique (although there must be plenty) but whatever algorithm you choose don't calculate the distance …

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

  9. 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 the most significant …

  10. algorithm - 3D Least Squares Plane - Stack Overflow

    Sep 9, 2009 · This is a comment. If someone would be so kind as to move it into the comments for Stephen Canon's answer, that would be great. This, I hope, clarifies what the heck he meant by "The …