Solution (source code)

= Solution

A horseshoe consists of two disjoint intervals each mapped across their union, producing full two-symbol itinerary dynamics.