Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

New answers tagged

0

There are loads of answers on this, but it can be confusing. I like to think of it this way, and maybe it helps?: Concurrent programming is code that does not care about the order of execution. Java is a poor language for concurrent programming, but there are libraries and frameworks to help. JavaScript is an excellent language for concurrent programming, ...


0

You can get constant time if you use n^2 processors. Basically, every processor makes 1 comparison and writes a 0 to a shared memory array of size n if their comparison is smaller. The index in the array with a 1 left in it at the end is the max.


Top 50 recent answers are included