Skip to content

ganiroo/Course-Conflict-Scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Python based academic scheduling utility that implements interval logic to detect and resolve course time conflicts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages