We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
It looks like you just hack it. Because your stack will be different from, I mean, the true stack that we need. Suppose that if in the test cases, they check the value that you just pop out in query 2, so you will fail. But it's not important anymore, you passed the test cases by a hacker-style way, and I like it.
Maximum Element
You are viewing a single comment's thread. Return to all comments →
It looks like you just hack it. Because your stack will be different from, I mean, the true stack that we need. Suppose that if in the test cases, they check the value that you just pop out in query 2, so you will fail. But it's not important anymore, you passed the test cases by a hacker-style way, and I like it.