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

  2. 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 input. 2. Big O …

  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. big o - Time complexity of Euclid's Algorithm - Stack Overflow

    I am having difficulty deciding what the time complexity of Euclid's greatest common denominator algorithm is. This algorithm in pseudo-code is: function gcd(a, b) while b ≠ 0 t := b ...

  5. What is Sliding Window Algorithm? Examples? - Stack Overflow

    Nov 25, 2011 · 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?

  6. algorithm - how to calculate binary search complexity - Stack Overflow

    Nov 18, 2011 · 5 The time complexity of the binary search algorithm belongs to the O (log n) class. This is called big O notation. The way you should interpret this is that the asymptotic growth of the time …

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

  8. Efficient algorithm for detecting cycles in a directed graph

    35 In my opinion, the most understandable algorithm for detecting cycle in a directed graph is the graph-coloring-algorithm. Basically, the graph coloring algorithm walks the graph in a DFS manner (Depth …

  9. What is the difference between an on-line and off-line algorithm?

    Jul 16, 2012 · An on-line algorithm is one that receives a sequence of requests and performs an immediate action in response to each request. In contrast,an off-line algorithm performs action after …

  10. Understanding Time complexity calculation for Dijkstra Algorithm

    Jun 27, 2016 · As per my understanding, I have calculated time complexity of Dijkstra Algorithm as big-O notation using adjacency list given below. It didn't come out as it was supposed to and that led me to …