Microsoft Interview Question

different case scenarios in the video