Driver program to test above functions
public static void main ( String [ ] args ) { int arr [ ] = { 20 , 4 , 1 , 3 } ; int n = arr . length ; System . out . println ( minRemovalsDP ( arr , n ) ) ; } }