get node representative of the disjoint set . concode_field_sep Node parent concode_elem_sep Map<Integer,Node> map concode_elem_sep int name concode_elem_sep int rank concode_field_sep int size concode_elem_sep void makeSet concode_elem_sep void main concode_elem_sep boolean union
Node function ( int arg0 ) { return findSet ( map . get ( arg0 ) ) ; }