All pastes #763858 Raw Edit

Miscellany

public java v1 · immutable
·published 2007-11-06 20:19 UTC
rendered paste body
	public int maxR(int[] v){		return maxR2(v, 1, 0);	}		private int maxR2(int[] v, int y, int z){		int x = z;		if(y == v.length-1){		}		else{			if( v[x] < v[y]){				x = v[y];			}                        maxR2(v, y+1, x);		}		return x;	}