Skip to main content
Feels nicer
Source Link
doug
  • 1.4k
  • 4
  • 9

K (ngn/k), 42 bytes

{x~&//2/''(~|:')\1{x@|8\15637664}\\1@[;|8\15637664]\(8#2)\x} 

Try it online!Try it online!

K (ngn/k), 42 bytes

{x~&//2/''(~|:')\1{x@|8\15637664}\(8#2)\x} 

Try it online!

K (ngn/k), 42 bytes

{x~&//2/''(~|:')\1@[;|8\15637664]\(8#2)\x} 

Try it online!

Source Link
doug
  • 1.4k
  • 4
  • 9

K (ngn/k), 42 bytes

{x~&//2/''(~|:')\1{x@|8\15637664}\(8#2)\x} 

Try it online!