Hello friends can someone tell me how to approach these problems? I participated in this practice round 1 and could not solve these problems. Can someone tell me the approach to solve these problems. Thanks in advance.

@vijju123 @taran_1407 @vivek_1998299 @meooow @john_smith_3 @aryanc403 @vbt_95

**Contest is over so we can have a discussion over the approach used or can be used.**