Q1: https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string/
Q2: https://leetcode.com/problems/powx-n/
first question i solved using Stack - TC- O(n)
Second question, I coded properly for even value of n, stuck with odd value, for 2mins and time got over as i took little more time on explaining and coding the first question.
Update: Moving to Onsite