Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
4 deleted 10 characters in body
source | link

MATL, 2 bytes

Xy

A translation of my Octave answer.

Try it online.

A 4 byte version with no built-ins (thanks to Luis Mendo):

:t!=
:     take implicit input "n",n and a generate row array [1,2,...n]
 t    duplicate
  !   zip
   =  thread compare over the result

MATL, 2 bytes

Xy

A translation of my Octave answer.

Try it online.

A 4 byte version with no built-ins (thanks to Luis Mendo):

:t!=
:     take implicit input "n", and generate row array [1,2,...n]
 t    duplicate
  !   zip
   =  thread compare over the result

MATL, 2 bytes

Xy

A translation of my Octave answer.

Try it online.

A 4 byte version with no built-ins (thanks to Luis Mendo):

:t!=
:     take input n and a generate row array [1,2,...n]
 t    duplicate
  !   zip
   =  thread compare over the result
3 Statement `:` was missing in the code descriptio
source | link

MATL, 2 bytes

Xy

A translation of my Octave answer.

Try it online.

A 4 byte version with no built-ins (thanks to Luis Mendo):

:t!=
: t    duplicatetake implicit input "n", and generate row array [1,2,...n]
 t    duplicate
  !   zip
   =  thread compare over the result

MATL, 2 bytes

Xy

A translation of my Octave answer.

Try it online.

A 4 byte version with no built-ins (thanks to Luis Mendo):

:t!=
 t    duplicate input
  !   zip
   =  thread compare over the result

MATL, 2 bytes

Xy

A translation of my Octave answer.

Try it online.

A 4 byte version with no built-ins (thanks to Luis Mendo):

:t!=
:     take implicit input "n", and generate row array [1,2,...n]
 t    duplicate
  !   zip
   =  thread compare over the result
2 added 158 characters in body
source | link

MATL, 2 bytes

Xy

A translation of my Octave answer.

Try it online.

A 4 byte version with no built-ins (thanks to Luis Mendo):

:t!=
 t    duplicate input
  !   zip
   =  thread compare over the result

MATL, 2 bytes

Xy

A translation of my Octave answer.

Try it online.

MATL, 2 bytes

Xy

A translation of my Octave answer.

Try it online.

A 4 byte version with no built-ins (thanks to Luis Mendo):

:t!=
 t    duplicate input
  !   zip
   =  thread compare over the result
1
source | link