Page 1 of 1

What is the time complexity for a given pancake sort given it undergoes “n” flip operations?

Posted: Wed Jul 13, 2022 6:15 pm
by answerhappygod
a) O(n)
b) O(n2)
c) O(n3)
d) O(2n)