graph serialization * Cinema Guy 17:22 Add Comment Edit Question I'm looking for a simple algorithm to 'serialize' a directed graph. In particular I've got a set of files with inte... Read More
Peak detection of measured signal * Cinema Guy 03:23 Add Comment Edit Question We use a data acquisition card to take readings from a device that increases its signal to a peak and then falls back to near the o... Read More
Big O, how do you calculate/approximate it? * Cinema Guy 03:18 Add Comment Edit Question Most people with a degree in CS will certainly know what Big O stands for . It helps us to measure how (in)efficient an algorithm r... Read More
What problems can be solved, or tackled more easily, using graphs and trees? * Cinema Guy 17:56 Add Comment Edit Question What are the most common problems that can be solved with both these data structures? It would be good for me to have also recom... Read More
Efficiently get sorted sums of a sorted list * Cinema Guy 14:08 Add Comment Edit Question You have an ascending list of numbers, what is the most efficient algorithm you can think of to get the ascending list of sums of e... Read More
Most efficient code for the first 10000 prime numbers? * Cinema Guy 22:45 Add Comment Edit Question I want to print the first 10000 prime numbers. Can anyone give me the most efficient code for this? Clarifications: It do... Read More
Function for creating color wheels * Cinema Guy 11:42 Add Comment Edit Question This is something I've pseudo-solved many times and never quite found a solution that's stuck with me. The problem is to co... Read More
What is the fastest way to get the value of π? * Cinema Guy 22:21 Add Comment Edit Question Solutions are welcome in any language. :-) I'm looking for the fastest way to obtain the value of π, as a personal challenge. M... Read More