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

  2. algorithm - Peak signal detection in realtime timeseries data - Stack ...

    Robust peak detection algorithm (using z-scores) I came up with an algorithm that works very well for these types of datasets. It is based on the principle of dispersion: if a new datapoint is a given x …

  3. how do *you* calculate/approximate Big O? - Stack Overflow

    Most people with a degree in CS know what Big O stands for. It helps us to measure how well an algorithm scales. How do you calculate or approximate the complexity of your algorithms?

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

  5. What is the best image downscaling algorithm (quality-wise)?

    Jan 20, 2017 · 4 The algorithm you describe is called linear interpolation, and is one of the fastest algorithms, but isn't the best on images.

  6. What is the difference between an algorithm and a function?

    An algorithm is a series of steps (a process) for performing a calculation, whereas a function is the mathematical relationship between parameters and results. A function in programming is different …

  7. Negative weights using Dijkstra's Algorithm - Stack Overflow

    Variants of Dijkstra's Algorithm The key is there are 3 kinds of implementation of Dijkstra's algorithm, but all the answers under this question ignore the differences among these variants. Using a nested for …

  8. algorithm - recursion versus iteration - Stack Overflow

    Feb 23, 2020 · Is it correct to say that everywhere recursion is used a for loop could be used? And if recursion is usually slower what is the technical reason for ever using it over for loop iteration? And if i...

  9. Newest 'algorithm' Questions - Stack Overflow

    [algorithm] 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 Watch tag Go to Wiki 121,491 …

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

    Apr 14, 2009 · 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 …