Skip to content

arunjain9988/Taskscheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Scheduler C Plus Plus Program

Prioritize Tasks according to priority.

Data Structure Used: Binary Heap

first Asks the user for maximum tasks and initialize the size of heap array.

Operations included:

  1. Add task(adds the task to the heap in its required position. O(logn) time.
  2. Complete task(removes the maximum priority task from heap. O(logn) time.
  3. Show all tasks(shows all remianing tasks in sorted in descending order of their priority). O(nlogn) time.

Please feel free to pull and commit with necessary changes.

About

Schedules tasks based on priority cpp project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published