Question Approach I actually tried solving this question but I failed severally. So I used the editorial.