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

  2. algorithm - Peak signal detection in realtime timeseries data

    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 …

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

  5. JSchException: Algorithm negotiation fail - Stack Overflow

    I am trying to connect to remote sftp server over ssh with JSch (0.1.44-1) but during session.connect(); I am getting this exception: com.jcraft.jsch.JSchException: Algorithm …

  6. algorithm - Difference between Big-O and Little-O Notation

    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 …

  7. algorithm - How can building a heap be O (n) time complexity?

    Mar 18, 2012 · A great analysis of the algorithm can be seen here. The main idea is that in the build_heap algorithm the actual heapify cost is not O(log n) for all elements. When heapify is …

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

  9. Algorithm/Data Structure Design Interview Questions

    Mar 9, 2010 · Asking somebody to design a tree class, perform traversals, and then figure out from which traversals they could rebuild a tree also gives some insight into data structure and …

  10. c - Point in Polygon Algorithm - Stack Overflow

    Jul 30, 2012 · The algorithm is ray-casting to the right. Each iteration of the loop, the test point is checked against one of the polygon's edges. The first line of the if-test succeeds if the point's y …