Developed a custom chronological event management application in Python using a doubly-linked list data structure.
- Dynamic event insertion while maintaining chronological order
- Targeted event removal using bidirectional search (
frontandback) - In-place sorting of events
- Event counting and traversal support
- Object-oriented design:
TimelineandEventclasses- Encapsulated pointer management (
next,previous) - Ensures list integrity across all operations
- Implemented using Python and OOP principles
- Doubly-linked list allows efficient insertion, deletion, and traversal
- Supported operations include:
add_event(...) # Insert chronologically remove_event(...) # Remove via bidirectional search sort(...) # Sort ascending or descending get_count(...) # Return number of events