1. All Categories
2. Code Golf

# Code Golf : Recent Questions and Answers

## Golf me an ASCII Alphabet

Don't you find that reading simple text isn't appealing enough? Try our ##### ### ### ##### ##### ##### #####...

## Cantor Function, Cruel

A ripoff of this challenge. Go upvote it!ObjectiveGiven a rational number amongst $[0,1]$, apply the Cantor function to it and output the rational number that's produced.The...

## Superpermutations

IntroductionYou're a criminal tasked with stealing some secret plans from the new tech startup Dejavu. You sneak in over the back wall, but find a door that requires a pin...

Asked on 01/02/2022 by Isaac C

## Squaring Off (fit to smallest possible square)

IntroMore complex than A square of text since this requires padding and input has unknown data type. Every year, Dyalog Ltd. holds a student competition. ...

## Find the longest uninterrupted arc

The challenge here is to find the longest uninterruped arc around a unit circle with a random amount of points distributed in random positions around it.Here is a diagram...

## Hot moo shuffle: milk an array

BackgroundMilking the deck is the name given to the following card shuffling method:'Pinch' the deck to remove the top and bottom cards simultaneously. (With lots of imagination, this...

## Verify a Superpermutation

A superpermutation on n symbols is a string which contains every permutation of n symbols in its body. For instance, 123121321 is a superpermutation on three symbols because...

## Will Mario fall into the Shrinking Satellite? (Diagram added)

Super Mario Galaxy features two rhombicuboctahedron-shaped* planets tiled with platforms that shrink as Mario runs across. Should Mario fall into a triangular hole or a gap...

## Is this a triangle?

TaskWrite a function/program that, given three positive integers a, b and c, prints a Truthy value if a triangle (any triangle) could have side lengths a, b and c and...