About 10,100,000 results
Open links in new tab
  1. 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 …

  2. Where can I find information on the D* or D* Lite pathfinding …

    May 24, 2010 · As opposed to repeated A* search, the D* Lite algorithm avoids replanning from scratch and incrementally repair path keeping its modifications local around robot pose. if you …

  3. How does a 'diff' algorithm work, e.g. in VCDIFF and DiffMerge?

    The algorithm was independently discovered as described in "Algorithms for Approximate String Matching", E. Ukkonen, `Information and Control' Vol. 64, 1985, pp. 100-118. Reading the …

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

  5. Tower of Hanoi: Recursive Algorithm - Stack Overflow

    Aug 3, 2009 · Although I have no problem whatsoever understanding recursion, I can't seem to wrap my head around the recursive solution to the Tower of Hanoi problem. Here is the code …

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

  7. Big O, how do you calculate/approximate it? - Stack Overflow

    Most people with a degree in CS will certainly know what Big O stands for. It helps us to measure how well an algorithm scales. But I'm curious, how do you calculate or approximate the …

  8. Understanding Knuth-Morris-Pratt Algorithm - Stack Overflow

    Nov 7, 2012 · Understanding Knuth-Morris-Pratt Algorithm Asked 12 years, 10 months ago Modified 7 months ago Viewed 12k times

  9. How can I find the time complexity of an algorithm?

    1. Introduction In computer science, the time complexity of an algorithm quantifies the amount of time taken by an algorithm to run as a function of the length of the string representing the …

  10. algorithm - Find the majority element in array - Stack Overflow

    Dec 1, 2010 · The algorithm for first phase that works in O (n) is known as Moore’s Voting Algorithm. Basic idea of the algorithm is if we cancel out each occurrence of an element e with …