What are the best known bounds for comparing two binary heaps for equality?

后端 未结 0 1855
孤街浪徒
孤街浪徒 2020-12-19 03:28

In particular without modifying the input.

I\'ve so far been unable to find anything on this, I wonder if it has a solution better than the obvious O(n log n) time.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题