/Homework3

Recursion methods for remove duplicates objects in the List

Primary LanguageJava

Homework 3 : Recursion

This Recursion class have two methods to do with List in recursive way :

  1. public static uniqueAll(List list) is the method for removing all duplicates Object in the List.
  2. public static unique(List list) is the method for remove all consecutive duplicates Object in the List.