FranklinChen / binary-search-tree-validate-scala

Example of Scala parallel collection use.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compare sequential and parallel algorithm in Scala

Checking whether a tree is a valid binary search tree: a code puzzler from DZone.

Parallelism comes from simultaneously checking subtrees during recursion.

Benchmarking is done with Google Caliper for Java.

About

Example of Scala parallel collection use.


Languages

Language:Scala 100.0%