Questions & Answers about Nós temos o mesmo problema.
Portuguese is a pro-drop language, which means the subject pronoun can be omitted because the verb ending already shows the person. Saying Temos o mesmo problema is perfectly correct and more common in everyday speech. Including nós adds emphasis or clarity—especially in writing or when distinguishing “we” from “they.”
In Portuguese, singular countable nouns usually require a definite article. O mesmo problema is “the same problem.” Omitting the article (temos mesmo problema) sounds odd or ungrammatical in Portuguese. You could drop the article in very colloquial or headline-style Portuguese, but it isn’t standard.