cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
query on priority queues
query on priority queues
Apr 10, 2010 at 11:16pm UTC
streetfi8er
(2)
hi. i have an array if integers like 1 1 2 5 5 6 and i want to assign priorities to them like a[5] has e heighest priority followed by a[4] then a[5] then a[2] then a[1] and then a[0] .So how can i implement it using priority queue?
Topic archived. No new replies allowed.