{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Ch13 Homework\n",
    "\n",
    "1. Implement a function `is_balanced(text)` that checks whether parentheses in a string are balanced.\n",
    "2. Create a queue-based simulation of a customer-service line with at least five customers.\n",
    "3. Represent a small company hierarchy as a tree and print it with indentation.\n",
    "4. Represent course prerequisites as a graph using a dictionary.\n",
    "5. Write a short paragraph comparing BFS and DFS. Include one situation where each would be useful."
   ],
   "id": "d655192d"
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "name": "python",
   "version": "3.11.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
