Skip to main content
Commonmark migration
Source Link

#k, 12 bytes

k, 12 bytes

|/@&:1=#:'=:

Example:

k)F:|/@&:1=#:'=:
k)F "1948710498"
"7"
k)F "99999"
"\000"
k)F "mississippi"
"m"

The translation to q as explanation

max where 1 = count each group@

Interpreter available here

#k, 12 bytes

|/@&:1=#:'=:

Example:

k)F:|/@&:1=#:'=:
k)F "1948710498"
"7"
k)F "99999"
"\000"
k)F "mississippi"
"m"

The translation to q as explanation

max where 1 = count each group@

Interpreter available here

k, 12 bytes

|/@&:1=#:'=:

Example:

k)F:|/@&:1=#:'=:
k)F "1948710498"
"7"
k)F "99999"
"\000"
k)F "mississippi"
"m"

The translation to q as explanation

max where 1 = count each group@

Interpreter available here

added 68 characters in body
Source Link
skeevey
  • 4.4k
  • 19
  • 22

#k, 12 bytes

|/@&:1=#:'=:

Example:

k)F:|/@&:1=#:'=:
k)F "1948710498"
"7"
k)F "99999"
"\000"
k)F "mississippi"
"m"

The translation to q as explanation

max where 1 = count each group@

Interpreter available here

#k, 12 bytes

|/@&:1=#:'=:

Example:

k)F:|/@&:1=#:'=:
k)F "1948710498"
"7"
k)F "99999"
"\000"
k)F "mississippi"
"m"

The translation to q as explanation

max where 1 = count each group@

#k, 12 bytes

|/@&:1=#:'=:

Example:

k)F:|/@&:1=#:'=:
k)F "1948710498"
"7"
k)F "99999"
"\000"
k)F "mississippi"
"m"

The translation to q as explanation

max where 1 = count each group@

Interpreter available here

minus one byte
Source Link
skeevey
  • 4.4k
  • 19
  • 22

#k, 1312 bytes

max@&|/@&:1=#:'=:

Example:

k)F:max@&|/@&:1=#:'=:
k)F "1948710498"
"7"
k)F "99999"
"\000"
k)F "mississippi"
"m"

The translation to q is easier to understandas explanation

max where 1 = count each group@

#k, 13 bytes

max@&:1=#:'=:

Example:

k)F:max@&:1=#:'=:
k)F "1948710498"
"7"
k)F "99999"
"\000"
k)F "mississippi"
"m"

The translation to q is easier to understand

max where 1 = count each group@

#k, 12 bytes

|/@&:1=#:'=:

Example:

k)F:|/@&:1=#:'=:
k)F "1948710498"
"7"
k)F "99999"
"\000"
k)F "mississippi"
"m"

The translation to q as explanation

max where 1 = count each group@
Source Link
skeevey
  • 4.4k
  • 19
  • 22
Loading