Welcome to Qi-U Community for programmer and developer-Open, Learning and Share

Categories

0 votes
232 views
in Technique[技术] by (31.9m points)

priority queue array里面怎么添加一个二维坐标和修改它的removeMin方法?

priority queue中的add方法是[boolean add(E element):],怎么加一个(x,y)元素进去,同时修改它的removeMin方法!

image


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

1 Answer

0 votes
by (31.9m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Qi-U Community for programmer and developer-Open, Learning and Share
...