Skip to content

IamDixit/PythonTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

PythonTree

Problem Statement

A travel agent have tickets for multiple locations. He wants to build a solution where he can show all the possible routes for which he has available tickets from any given location.

Solution

I have created linked tree where each node represents a location and edge is the ticket availability between them. tickets = [["A", "B"]] is any list of array which contain tickets between location A,B.

Run Environment

Python 2.7 Run the code using python <filename.py>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages