Skip to main content
added 1 character in body
Source Link
pajonk
  • 18.3k
  • 3
  • 26
  • 74

R, 45 3939 36 bytes

Edit: -69 bytes thanks to @Dominic van Essen.

\(x,y,`?`=\(a)table(a))identical(?table(x),?ytable(x=y))

Attempt This Online!Attempt This Online!

Takes input as two character vectors.

R, 45 39 bytes

Edit: -6 bytes thanks to @Dominic van Essen.

\(x,y,`?`=\(a)table(a))identical(?x,?y)

Attempt This Online!

Takes input as two character vectors.

R, 45 39 36 bytes

Edit: -9 bytes thanks to @Dominic van Essen.

\(x,y)identical(table(x),table(x=y))

Attempt This Online!

Takes input as two character vectors.

added 112 characters in body
Source Link
pajonk
  • 18.3k
  • 3
  • 26
  • 74

R, 4545 39 bytes

Edit: -6 bytes thanks to @Dominic van Essen.

\(x,y,`?`=\(a)table(a,dnn=0))identical(?x,?y)

Attempt This Online!Attempt This Online!

Takes input as two character vectors.

R, 45 bytes

\(x,y,`?`=\(a)table(a,dnn=0))identical(?x,?y)

Attempt This Online!

Takes input as two character vectors.

R, 45 39 bytes

Edit: -6 bytes thanks to @Dominic van Essen.

\(x,y,`?`=\(a)table(a))identical(?x,?y)

Attempt This Online!

Takes input as two character vectors.

Source Link
pajonk
  • 18.3k
  • 3
  • 26
  • 74

R, 45 bytes

\(x,y,`?`=\(a)table(a,dnn=0))identical(?x,?y)

Attempt This Online!

Takes input as two character vectors.