Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • \$\begingroup\$ 203 bytes if you don't mind one-line monstrosities; the biggest improvement was probably removing the which and using l>=t as the index directly, which was worth 12 bytes. \$\endgroup\$ Commented Mar 20, 2019 at 17:52
  • 2
    \$\begingroup\$ 198 bytes by aliasing [ with ~. This is a great answer; I was spending about 250 bytes in my first few attempts with a much more complex approach. \$\endgroup\$ Commented Mar 20, 2019 at 17:56
  • \$\begingroup\$ Ah, that's clever, I forget about string comparisons. \$\endgroup\$ Commented Mar 20, 2019 at 17:56