• + 1 comment

    Did almost same like your solution approach but its giving me WA in 5 cases.