What is the time complexity of the push operation if two stacks implemented in one array?

1
O(log n)
2
O(n log n)
3
O(n2)
4
O(1)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation