I print a path like below with iteration. It is redundant as you see. How can I remove the redundant path? im using arrayList ..anyone know please guide me, urgent!!
Thx a lot

1. [0, 1]
2....