public int maxLength(int[] array) {
		if (array == null || array.length <= 0)
			return 0;

		int max = 1;
		int currentMax = 1;
		for (int i = 1; i < array.length; i++) {
			if (array[i] > array[i - 1]) {
				currentMax++;
				if (currentMax > max) {
					max = currentMax;
				}
			} else {
				currentMax = 1;
			}
		}
		return max;
	}