subject

Implement a priority queue for titanic passengers. a poassenger has higher priority to another based on the following rules:
a. children(age< 15) have the highest priority
b. women are more prior to men
c. if the previous rules can't decide between the two passengers, the youngest passenger has the higher priority.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:10
Are special combinations of keys that tell a computer to perform a command. keypads multi-keys combinations shortcuts
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
Many everyday occurrences can be represented as a binary bit. for example, a door is open or closed, the stove is on or off, and the fog is asleep or awake. could relationships be represented as a binary value? give example.
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
question
Computers and Technology, 24.06.2019 13:30
In the rgb model, which color is formed by combining the constituent colors? a) black b) brown c) yellow d) white e) blue
Answers: 1
You know the right answer?
Implement a priority queue for titanic passengers. a poassenger has higher priority to another based...
Questions
question
Biology, 04.12.2020 01:00
question
Mathematics, 04.12.2020 01:00
Questions on the website: 13722360