• + 1 comment

    This one is throwing error for arr[i] != map.get(stack.peek()) comparison