About 10,100,000 results
Open links in new tab
  1. How to calculate moving average without keeping the count and …

    Sep 28, 2012 · I am trying to find a way to calculate a moving cumulative average without storing the count and total data that is received so far. I came up with two algorithms but both need to …

  2. What is the most efficient way to deep clone an object in …

    Sep 23, 2008 · For instance, the structured clone algorithm defines a procedure that is rigid (hardly extendible by a script, say) and at the same time leaves too much to the user agent.

  3. Webpack build failing with ERR_OSSL_EVP_UNSUPPORTED

    Sep 30, 2021 · If you hit an ERR_OSSL_EVP_UNSUPPORTED error in your application with Node.js 17, it’s likely that your application or a module you’re using is attempting to use an …

  4. How can I implement a tree in Python? - Stack Overflow

    How can I implement a general tree in Python? Is there a built-in data structure for this?

  5. algorithm - Calculate distance between two latitude-longitude …

    Aug 26, 2008 · How do I calculate the distance between two points specified by latitude and longitude? For clarification, I'd like the distance in kilometers; the points use the WGS84 …

  6. c - Fast CRC algorithm? - Stack Overflow

    Aug 26, 2021 · CRC32 algorithm is exactly what I'm looking for, but I can't use it because the table it requires is way too huge (it is for an embedded system where resources are VERY …

  7. algorithm - Most efficient way to calculate Levenshtein distance ...

    The wikipedia entry on Levenshtein distance has useful suggestions for optimizing the computation -- the most applicable one in your case is that if you can put a bound k on the …

  8. algorithm - how to calculate binary search complexity - Stack …

    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 …

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

  10. The best shortest path algorithm - Stack Overflow

    What is the difference between the "Floyd-Warshall algorithm" and "Dijkstra's Algorithm", and which is the best for finding the shortest path in a graph? I need to calculate the shortest path …