约 50 个结果
在新选项卡中打开链接
  1. Newest 'algorithm' Questions - Stack Overflow

    An algorithm is a sequence of well-defined steps that defines an abstract solution to a problem. Sign up to watch this tag and see more personalized content

  2. algorithm - What does O (log n) mean exactly? - Stack Overflow

    2010年2月22日 · 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 …

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

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

    2023年12月1日 · 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 the fastest integer factorization algorithm?

    The algorithm picks on a number A along the curve, then looks up the safe distance and jumps to the next hashtable, or at least the algorithm does those factor checks until the next hashtable becomes …

  6. Circle line-segment collision detection algorithm? - Stack Overflow

    2009年7月2日 · 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 …

  7. Algorithm to compare two images - Stack Overflow

    2015年4月18日 · 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 …

  8. algorithm - Difference between Big-O and Little-O Notation - Stack …

    2009年9月1日 · 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. matrix multiplication algorithm time complexity - Stack Overflow

    2017年1月22日 · I came up with this algorithm for matrix multiplication. I read somewhere that matrix multiplication has a time complexity of o(n^2). But I think my this algorithm will give o(n^3). I don't …

  10. Efficient Algorithm for Bit Reversal (from MSB->LSB to LSB->MSB) in C

    2009年4月14日 · What is the most efficient algorithm to achieve the following: 0010 0000 => 0000 0100 The conversion is from MSB->LSB to LSB->MSB. All bits must be reversed; that is, this is not …