the difference between Max Heap and sorted stack

Posted by matin1234 on Stack Overflow See other posts from Stack Overflow or by matin1234
Published on 2010-06-13T08:07:04Z Indexed on 2010/06/13 8:12 UTC
Read the original article Hit count: 181

Filed under:

Hi I want to know that when we can sort a stack with a Collections.sort method so why we need a new data structure like max heap?thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about data-structures