Skip to main content
added 163 characters in body
Source Link
mkst
  • 5.2k
  • 12
  • 19

K (ngn/k), 99 13 bytes

Solution:

~=':,/+2\(7#2)\'

Try it online!Try it online!

Explanation:

~=':,/+2\(7#2)\' / the solution
       2\    \' / convert toeach
 base 2    (   )   / do this together
      + 7#2    / transpose2 2 2 2 2 2 2
    ,/        / flatten
 =':          / equal to each-previous?
~             / not

Notes:

  • +4 bytes to support strings consisting only of 6-bit chars

K (ngn/k), 9 bytes

Solution:

~=':,/+2\

Try it online!

Explanation:

~=':,/+2\ / the solution
       2\ / convert to base 2
      +   / transpose
    ,/    / flatten
 =':      / equal to each-previous?
~         / not

K (ngn/k), 9 13 bytes

Solution:

~=':,/(7#2)\'

Try it online!

Explanation:

~=':,/(7#2)\' / the solution
           \' / convert each
      (   )   / do this together
       7#2    / 2 2 2 2 2 2 2
    ,/        / flatten
 =':          / equal to each-previous?
~             / not

Notes:

  • +4 bytes to support strings consisting only of 6-bit chars
added explanation
Source Link
mkst
  • 5.2k
  • 12
  • 19

K (ngn/k), 9 bytes

Solution:

~=':,/+2\

Try it online!

On mobile, explanation to follow.Explanation:

~=':,/+2\ / the solution
       2\ / convert to base 2
      +   / transpose
    ,/    / flatten
 =':      / equal to each-previous?
~         / not

K (ngn/k), 9 bytes

~=':,/+2\

Try it online!

On mobile, explanation to follow.

K (ngn/k), 9 bytes

Solution:

~=':,/+2\

Try it online!

Explanation:

~=':,/+2\ / the solution
       2\ / convert to base 2
      +   / transpose
    ,/    / flatten
 =':      / equal to each-previous?
~         / not
Source Link
mkst
  • 5.2k
  • 12
  • 19

K (ngn/k), 9 bytes

~=':,/+2\

Try it online!

On mobile, explanation to follow.