A doctor has shared the symptoms of a vitamin deficiency that could lead to "memory issues, confusion, or cognitive changes"