View Single Post
Unread 11-04-2011, 05:14 PM
sl4shd0t
Posts: n/a
  #1  
Default Pancake Flipping Is Hard — NP Hard

</img>
</img>
mikejuk writes "French computer scientists have finally proved that sorting pancakes is hard &mdash; NP hard. No really &mdash; this isn't a joke. Well, it is slightly amusing but that's just because it is being presented as pancake flipping. The algorithm in question is sorting a permutation using prefix reversal &mdash; which is much easier to understand in terms of pancakes. Basically you have to sort a pancake stack by simply inserting your spatula and flipping the top part of the stack. We now know that if you can do the this in polynomial time then you have proved that P=NP."
Read more of this story at Slashdot.
[IMG]http://feeds.feedburner.com/~r/Slashdot/slashdotDevelopers/~4/rdEtBx0***A[/IMG]

More...
Reply With Quote