4 Comments
User's avatar
Repi's avatar

https://www.janestreet.com/puzzles/alter-nate/

A slightly tougher variant of this puzzle. What if you add a rule which prohibits you from the difference of the two numbers you say being exactly 11, which is the strategy you're using.

Expand full comment
Gargi's avatar

What's the logic behind 11👀 tried working out with other numbers, wouldn't add up

Expand full comment
Ayush Gupta's avatar

Consider the initial range given to you, it is 1 to 10 inclusive.

If it would have been 1 to d inclusive, then what would have been the answer?

Expand full comment
Gargi's avatar

My bad, I understood that it is the series that i need to stick to

Expand full comment