#!/bin/bash

echo ========= Chapter 2 ==========
dart run ../02-complexity/projects/final/bin/final.dart
dart run ../02-complexity/projects/starter/bin/starter.dart

echo ========= Chapter 3 ==========
dart run ../03-basic-data-structures-in-dart/projects/final/bin/final.dart
dart run ../03-basic-data-structures-in-dart/projects/starter/bin/starter.dart

echo ========= Chapter 4 ==========
dart run ../04-stacks/projects/challenge/bin/challenge.dart
dart run ../04-stacks/projects/final/bin/final.dart
dart run ../04-stacks/projects/starter/bin/starter.dart

echo ========= Chapter 5 ==========
dart run ../05-linked-lists/projects/challenge/bin/challenge.dart
dart run ../05-linked-lists/projects/final/bin/final.dart
dart run ../05-linked-lists/projects/starter/bin/starter.dart

echo ========= Chapter 6 ==========
dart run ../06-queues/projects/challenge/bin/challenge.dart
dart run ../06-queues/projects/final/bin/final.dart
dart run ../06-queues/projects/starter/bin/starter.dart

echo ========= Chapter 7 ==========
dart run ../07-recursion/projects/challenge/bin/challenge.dart
dart run ../07-recursion/projects/final/bin/final.dart
dart run ../07-recursion/projects/starter/bin/starter.dart

echo ========= Chapter 8 ==========
dart run ../08-trees/projects/challenge/bin/challenge.dart
dart run ../08-trees/projects/final/bin/final.dart
dart run ../08-trees/projects/starter/bin/starter.dart

echo ========= Chapter 9 ==========
dart run ../09-binary-trees/projects/challenge/bin/challenge.dart
dart run ../09-binary-trees/projects/final/bin/final.dart
dart run ../09-binary-trees/projects/starter/bin/starter.dart

echo ========= Chapter 10 ==========
dart run ../10-binary-search-trees/projects/challenge/bin/challenge.dart
dart run ../10-binary-search-trees/projects/final/bin/final.dart
dart run ../10-binary-search-trees/projects/starter/bin/starter.dart

echo ========= Chapter 11 ==========
dart run ../11-avl-trees/projects/challenge/bin/challenge.dart
dart run ../11-avl-trees/projects/final/bin/final.dart
dart run ../11-avl-trees/projects/starter/bin/starter.dart

echo ========= Chapter 12 ==========
dart run ../12-tries/projects/challenge/bin/challenge.dart
dart run ../12-tries/projects/final/bin/final.dart
dart run ../12-tries/projects/starter/bin/starter.dart

echo ========= Chapter 13 ==========
dart run ../13-binary-search/projects/challenge/bin/challenge.dart
dart run ../13-binary-search/projects/final/bin/final.dart
dart run ../13-binary-search/projects/starter/bin/starter.dart

echo ========= Chapter 14 ==========
dart run ../14-heaps/projects/challenge/bin/challenge.dart
dart run ../14-heaps/projects/final/bin/final.dart
dart run ../14-heaps/projects/starter/bin/starter.dart

echo ========= Chapter 15 ==========
dart run ../15-priority-queues/projects/challenge/bin/challenge.dart
dart run ../15-priority-queues/projects/final/bin/final.dart
dart run ../15-priority-queues/projects/starter/bin/starter.dart

echo ========= Chapter 16 ==========
dart run ../16-o-n-sorting-algorithms/projects/challenge/bin/challenge.dart
dart run ../16-o-n-sorting-algorithms/projects/final/bin/final.dart
dart run ../16-o-n-sorting-algorithms/projects/starter/bin/starter.dart

echo ========= Chapter 17 ==========
dart run ../17-merge-sort/projects/challenge/bin/challenge.dart
dart run ../17-merge-sort/projects/final/bin/final.dart
dart run ../17-merge-sort/projects/starter/bin/starter.dart

echo ========= Chapter 18 ==========
dart run ../18-radix-sort/projects/challenge/bin/challenge.dart
dart run ../18-radix-sort/projects/final/bin/final.dart
dart run ../18-radix-sort/projects/starter/bin/starter.dart

echo ========= Chapter 19 ==========
dart run ../19-heap-sort/projects/challenge/bin/challenge.dart
dart run ../19-heap-sort/projects/final/bin/final.dart
dart run ../19-heap-sort/projects/starter/bin/starter.dart

echo ========= Chapter 20 ==========
dart run ../20-quicksort/projects/challenge/bin/challenge.dart
dart run ../20-quicksort/projects/final/bin/final.dart
dart run ../20-quicksort/projects/starter/bin/starter.dart

echo ========= Chapter 21 ==========
dart run ../21-graphs/projects/challenge/bin/challenge.dart
dart run ../21-graphs/projects/final/bin/final.dart
dart run ../21-graphs/projects/starter/bin/starter.dart

echo ========= Chapter 22 ==========
dart run ../22-breadth-first-search/projects/challenge/bin/challenge.dart
dart run ../22-breadth-first-search/projects/final/bin/final.dart
dart run ../22-breadth-first-search/projects/starter/bin/starter.dart

echo ========= Chapter 23 ==========
dart run ../23-depth-first-search/projects/challenge/bin/challenge.dart
dart run ../23-depth-first-search/projects/final/bin/final.dart
dart run ../23-depth-first-search/projects/starter/bin/starter.dart

echo ========= Chapter 24 ==========
dart run ../24-dijkstras-algorithm/projects/challenge/bin/challenge.dart
dart run ../24-dijkstras-algorithm/projects/final/bin/final.dart
dart run ../24-dijkstras-algorithm/projects/starter/bin/starter.dart