Palindrome is a sequence of chars which reads the same backward and forward. Detecting palindrome is a common job interview task therefore we’ll show how to implement that.
Shuffling of arrays/lists sounds like a trivial task, but in reality it’s full of subtle traps. Here we show how to implement Fisher-Yates Shuffle Algorithm in Java.
To calculate MD5 hash in Java we can use pure Java approach or use libraries. In this post we’re going to show how to calculate Message Digest in different ways.
For long time MongoDB didn’t have any means to join collections, but since version 3.2 there is a way to do simple left outer join of two collections.
MongoDB integrates with JSON very well, but how to convert JSON to Document/DBObject using MongoDB API? In this post we show two solutions.
A common problem when starting with MongoDB is how to generate random test data in MongoDB. A large data set is especially needed for MongoDB performance tuning.
Spring Framework is really great when it comes to i18n. It applies different strategies to get user’s locale from request. In this post we’ll show how apply that!
MongoDB import/export data can be performed using many different tools. In this post we show how to use them to move MongoDB data around!
Divide and Conquer algorithms are great subject for parallelism. Here we present Parallel Merge Sort implemented using Java ForkJoin Framework.
“Turning the database inside out with Apache Samza” by Martin Kleppmann is a great talk about architecting systems around Event Streams (or Transaction Logs) and creating Materialized Views from it.