freeCodeCamp / CurriculumExpansion

Creative Commons Attribution Share Alike 4.0 International
313 stars 105 forks source link

feat(curriculum): add shortest path algorithm project #353

Closed Dario-DC closed 10 months ago

Dario-DC commented 11 months ago

Checklist:

Closes #XXXXX

Adding a new project to the Python curriculum.

Note: when different paths of the same length are available, only the first one found is considered. If I'm not wrong it should be always the one with less number of nodes.

Dario-DC commented 11 months ago

Hey @gikf , thank you for your review. I've implemented your suggestions and I think now the code has a more natural flow. I need to check if the defaultdict works in the platform as it is right now (currently I'm having issues with building the client locally), but for now I've substituted that part with a dict comprehension.