2026 Winter Games Day 13: Nordic Combined

I am spending my time developing myself in coding

This is how I code this challenge ! Can you give me advice on how I can develop my coding?

While implementing your own loops for max() and array construction, it is much more readable to use built-in methods:

const bestScore = Math.max(...jumpScores);
 
const calculated = jumpScores.map(score =>
     Math.ceil((bestScore - score) * 1.5)
);
return calculated

Its even more optimal performance wise in some cases.

1 Like

if you want people to evaluate your code, please post the code, not a screenshot

We have blurred this solution (with [spoiler][/spoiler] tags) so that users who have not completed this challenge can read the discussion in this thread without giving away the solution.

1 Like

Okay, this one is noted first time to posting anything here

thank you! for bringing up this method.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.