Java 8 implementation of the Mind Swap problem discusses in the The Prisoner of Benda Futurama episode (6x10).
Run Test.java to try it out.
The Documentation is WIP, in the meantime you can check some usefull resources:
- https://en.wikipedia.org/wiki/The_Prisoner_of_Benda#The_theorem
- https://theinfosphere.org/Futurama_theorem
- https://www.youtube.com/watch?v=J65GNFfL94c
All pull requests are welcome !