Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Revisions

1 of 10
Jonathan Allan
  • 115.4k
  • 8
  • 68
  • 293

Jelly, 17 bytes

V€ṙJ$I€A’¬S€ṀμÐṀḢ

A monadic link accepting a list of strings (the integer representation does not allow leading zeros) and returning the first one with a maximal run as described.

Try it online!

Jonathan Allan
  • 115.4k
  • 8
  • 68
  • 293

AltStyle によって変換されたページ (->オリジナル) /