All pastes #763847 Raw Edit

Miscellany

public java v1 · immutable
·published 2007-11-06 20:11 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(x == v.length-1){		}		else{			if( v[x] < v[y]){				x = y;				maxR2(v, y+1, x);			}		}		return v[x];	}