Parallel Programming With Recursive Functions?
问题 Background of the Problem: I'm trying to write a puzzle solution algorithm that takes advantage of multi-core processors and parallel processing. However, the ideal/easiest solution is a simple recursive function. What's the best way to break down the solution to both take advantage of parallel processing AND the recursive function? The code below is a solution for a simple puzzle solving algorithm (it works correctly). The puzzle in this example is straightforward - there are 14 slots