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

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

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

  4. What is the best algorithm for overriding GetHashCode?

    The hashing algorithm needs to be deterministic i.e. given the same input it must always produce the same output. Reduce Collisions The algorithm that calculates a hash code needs to keep hash …

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

  6. Peak-finding algorithm for Python/SciPy - Stack Overflow

    Apr 16, 2015 · The peak-finding algorithm would find the location of these peaks (not just their values), and ideally would find the true inter-sample peak, not just the index with maximum value, probably …

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

  8. What is the fastest hash algorithm to check if two files are equal?

    Nov 19, 2009 · A hash function can't tell you if two files are equal. It can only tell you if two files are not equal. If you're only comparing two files once, faster than any hash algorithm will be simple reading …

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

  10. Newest 'algorithm' Questions - Stack Overflow

    4 days ago · 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