Home Java Java-tips Algorithms Tutorials in this section

Ask Questions?

View Latest Questions


Tutorials in the section

Algorithms: Recursive Binary Search  
Iterative algorithms, ie those with a loop, can usually be easily rewritten to use recursive method calls instead of loops..

Algorithms: Linear Search  
Linear search is a good solution because it's so straightforward..

Algorithms: Binary Search  
A fast way to search a sorted array is to use a binary search..

Random Numbers - shuffling  
The random number methods generate numbers with replacement..

Random numbers - Introduction  
When to use random numbers?.

Random numbers - API  
Java provides the Math.random() method as well as the java.util.Random class..

Algorithms: Big-Oh Notation  
How time and space grow as the amount of data increases.