Persistent Systems’ Sr Python Developer Hiring Challenge (2025)
Fitness Challenge (100 Marks) Samantha and Jessica are two sisters who are preparing for their annual fitness challenge. They both have been assigned a personal trainer who has given them a workout plan for the next few weeks. The plan includes a set of N exercises, and for each exercise, there is a recommended number of sets and repetitions. Samantha and Jessica have been keeping track of the number of sets and repetitions they have completed for each exercise. At the end of each day, they compare their progress by calculating the sum of squared differences in the number of…