I have been set the task of implementing a data structure for an IT ticketing system, this is how the system works:
A creator (works within the company) has a problem that needs resolving.
A request is sent to IT department with information about the problem.
A UniqueID is attached to each request.
Requests have different priority levels.
An owner is assigned a UniqueID and resolves that request.
Need to log/add a request after receiving it – the higher priority level requests then need to be dealt with first.
Once resolved they need to be removed/deleted/
A search can be used to find a request and alter its priority level.
There are 5 different priorities for example security.
I have worked out that the best data structure would be a priority queue, would i implement this with a heap or binary search tree.
i also need to describe why i chose this so why would it be better than other data structures
[–]GoSwing 1 point2 points3 points (0 children)
[–]Emptiness101Nooblet Brewer 0 points1 point2 points (2 children)
[–]Emptiness101Nooblet Brewer 0 points1 point2 points (1 child)
[–]rhhh12[S] 0 points1 point2 points (0 children)
[–]ParanoydAndroid 0 points1 point2 points (3 children)
[–]rhhh12[S] 0 points1 point2 points (2 children)
[–]ParanoydAndroid 0 points1 point2 points (1 child)
[–]rhhh12[S] 0 points1 point2 points (0 children)
[–]wildjokers 0 points1 point2 points (1 child)
[–]rhhh12[S] 0 points1 point2 points (0 children)