Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
2 answers
877 views

Find all N-Queens solution

This code is a multi-threading recursive backtracking DFS algorithm to find all solutions to the N-Queens problem. The board size is indicated by BOARD_SIZE. ...
sth128's user avatar
  • 21
2 votes
0 answers
119 views

Parallel Multiplier: an implementation of `RecursiveTask<V>`

This class is my attempt at creating a re-usable class that simplifies the parallel calculation of products. I would appreciate hints on all aspects especially the value of the threshold for which the ...
Hungry Blue Dev's user avatar
5 votes
4 answers
9k views

Optimizing a thread safe Java NIO / Serialization / FIFO Queue

I've written a thread safe, persistent FIFO for Serializable items. The reason for reinventing the wheel is that we simply can't afford any third party dependencies ...
trialcodr's user avatar