A very simple example of how to manually reverse a string in Java.


Simple String Reversal (Java)

Wait & Notify Concurrency in Java
Learn to use low level wait and notify operations to share information between threads in Java.

Stack w/ Extract Min Value Operation
Learn how to create a stack that supports an additional extractMinValue() operation.

Garbage Collectors (HotSpot VM)
This post provides a quick overview of the 4 main garbage collectors available in Java.

Concurrent Collections in Java
Learn why modern concurrent collections are a great improvement over legacy synchronized collections in Java.

Binary Search Algorithm
Binary search can find an element in a sorted array in lg(n) time. That means finding an element in a billionitem array in just 30 checks!

Dijkstra’s Algorithm (Java)
A simple breadthfirstsearch based algorithm for finding the shortest path between two nodes in a directed or undirected graph.

Verify New Code w/ Debugger & Loggers!
This is just a short post that shows a reallife example of why it is often good to view the debug log and check things out in the debugger even when things seem to be working fine.

Insertion Sort
Insertion sort is a simple O(N^2) algorithm, but it is actually quite useful in practice.

Functional Permutations
Generate and count all the permutations of a given input string in a functional manner.