Education + Jobs Hiring Website - 2025
0 like 0 dislike
2,458 views
in Online Assessments by Expert (32,020 points) | 2,458 views

1 Answer

0 like 0 dislike

This is problem was asked in the Standard Chartered OA. I tried brute force approach but ofcourse that gave me TLE. It would be great if anybody could help.
image
image

by Expert (32,020 points)