data-structures-and-algorithms

401 data structures and algorithms code challenges


Project maintained by alsosteve Hosted on GitHub Pages — Theme by mattgraham

Data Structures and Algorithms

Language: Python

Graph Business Trip

Feature Tasks

Challenge Type: Code Challenge / Algorithm

Method:

Whiteboard Process

challenge37

Examples

Example

graph

Output

| Input | Output | |—|—| | [Metroville, Pandora, ] | $82 | | [Arendelle, New Monstropolis, Naboo] | $115 | | [Naboo, Pandora] | null | | [Narnia, Arendelle, Naboo] | null |

Unit Tests

see example for testing

Stretch Goal

None

Approach & Efficiency