How do you get past the interview stage if you don't know the difference between = and ==?
Leetcode problems require you to know that.
Leetcode problems require you to know that.
So quite possibly this was a perfectly good architect/programmer from a successful product who was turned into a C++ engineer on paper but never actually accepted the new role and only continued to architect.