extinctsion / easyPythonpi

A python library for the beginners. The program includes simple calulations. Genuine PRs will be merged without delays
https://pypi.org/project/easyPythonpi/
14 stars 36 forks source link

Fixing implementation of BFS and DFS for graphs #80

Closed AndrewHUNGNguyen closed 8 months ago

AndrewHUNGNguyen commented 8 months ago

Fixed implementation for BFS and DFS by using list instead of sets since sets do not preserve order of insertion.