Saturday, 12 October 2013

Insertion Sort Java

Insertion Sort example in Java.
The tool randomly picks up 50 integers and then sorts them using Insertion Sort algorithm.

The code for tool is given below (Java7) :
| Advertisement |

Validating date (DD/MM/YYYY) Java

The task is to create a tool in Java that takes a string as an input and validates if it is in date format (dd/mm/yyyy).

The source-code for the tool (Java 7) :

| Advertisement |