Given a wall-mounted cantilever beam and a point load at the free end, describe the shear force diagram and bending moment diagram

The question shows a diagram where the weight of the beam itself is taken into consideration. The solution however does not consider that distributed load of mg/L. The shear and moment diagrams will be slightly different. Typically, in textbook problems like these the self-weight of the beam is not considered but I’d say watch out if the interviewer specifically asks you to consider it.