Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 864 Bytes

File metadata and controls

19 lines (13 loc) · 864 Bytes

Course-Conflict-Scheduler

A Python utility designed to manage student course registration by detecting time-interval overlaps. This project demonstrates high-level logic for handling scheduling constraints in academic environments.

Key Features

  • Non-Overlapping Logic: Accurately identifies conflicts where course times intersect.
  • Edge-Case Support: Handles back to back classes correctly (start time equals end time of previous class).
  • Type Safety: Built using Python’s typing module for reliable data structures.

The Logic

The algorithm evaluates each new request against current accepted courses. A conflict is flagged unless the intervals are strictly distinct: Overlap = NOT (New_End <= Existing_Start OR New_Start >= Existing_End)

Usage

To run the built-in demo and see the registration report:

python main.py