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

  2. algorithm - Finding all possible combinations of numbers to reach …

    Jan 8, 2011 · How would you go about testing all possible combinations of additions from a given set N of numbers so they add up to a given final number? A brief example: Set of numbers to …

  3. c - Fast CRC algorithm? - Stack Overflow

    CRC32 algorithm is exactly what I'm looking for, but I can't use it because the table it requires is way too huge (it is for an embedded system where resources are VERY rare). So: any …

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

  6. QuickSelect Algorithm Understanding - Stack Overflow

    Jun 1, 2012 · I've been poring over various tutorials and articles that discuss quicksort and quickselect, however, my understanding of them is still shaky. Given this code structure, I …

  7. Finding the median of an unsorted array - Stack Overflow

    May 19, 2012 · There is still no linear algorithm in existence AFAIK for finding the median of an arbitrary, unsorted dataset. Think about it - a dataset that contains values 1..25 has true …

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

  9. algorithm - Difference between Big-O and Little-O Notation

    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 …

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