Long-Range Close Pairs in a Folded Chain

Company: Google DeepMind_27oct

Difficulty: easy