Some java problem sets from algorithms class