public static void METHOD_1 ( TYPE_1 VAR_1 ) { java.util.HashSet < java.lang.Integer > set = new java.util.HashSet < > ( ) ; TYPE_1 VAR_2 = null ; TYPE_1 n = VAR_1 ; while ( n != null ) { if ( set . contains ( n . data ) ) { VAR_3 = VAR_4 ; } else { set . add ( n . data ) ; VAR_2 = n ; } n = VAR_4 ; } }

public static void METHOD_1 ( TYPE_1 VAR_1 ) { if ( VAR_1 == null ) return ; java.util.HashSet < java.lang.Integer > set = new java.util.HashSet < > ( ) ; TYPE_1 VAR_2 = null ; TYPE_1 n = VAR_1 ; while ( n != null ) { if ( set . contains ( n . data ) ) { VAR_3 = VAR_4 ; n = VAR_4 ; } else { set . add ( n . data ) ; VAR_2 = n ; n = VAR_4 ; } } }
