To me, “No matter” means it isn’t important enough that anything needs to be done. “No problem” means it is easy enough to resolve or fix. ” As a complete sentence, none is formal.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.