Skip to content

Data structures practice

Twenty data structure and algorithm problems from a university course, solved in Python (nine also in C), with a Word document explaining each structure. Published with a DOI.

Sole author

archived

  • Python
  • C

Source

  • 20 numbered problem folders, each with its own readme and a Python solution
  • Nine problems also solved in C (1 to 6, 8, 9 and 10)
  • Includes graph work: nearest-neighbor route search on .tspdl instances, with Graph, Node and Barco classes
  • Published in the UNAB research data repository, DOI 10.60483/UNAB/EJTDDS

Context

Coursework from Universidad Andrés Bello: 20 problems meant to practice applying the main data structures (lists, trees, queues, graphs and others) in real code. The work is published in the university’s research data repository.

What I did

I solved every problem on my own. Each of the 20 folders holds the solution and a readme.md, and the repository includes a document that explains each data structure alongside its problem.

Technical details

  • Every problem has a Python solution. Problems 1 to 6, 8, 9 and 10 also have a C version, based on the file names in the repository.
  • Problems 7 and 7.1 are Jupyter notebooks. 7.1 uses its own Graph, Node and Barco classes with a nearest-neighbor approach over .tspdl instance files, including one named chile_puertos.
  • Problems 12 to 20 come with rosalind_*.txt input files, which suggests they follow Rosalind exercises.

Result

A readable record of my work with data structures, in two languages. It is archived on GitHub and is also citable through the university repository, DOI 10.60483/UNAB/EJTDDS: view the dataset.

Type to search