Hello all, Recently a contest was held on interviewbit named Codersbit.I am attaching the problems. Please help with the problems, I was able to do few of them but not in the most optimal way.And the contest ended few days ago, so it's not cheating.
1.(https://imgur.com/gn8I33P)) (https://imgur.com/Ik8iLJs)
2.(https://imgur.com/KOrRzc8) (https://imgur.com/k1MBeYq)