New answers tagged

3 votes

Sandbox for Proposed Challenges

Complete an equivalence relation In set theory, a relation from a set \$A\$ to a set \$B\$ is a set of pairs of elements from \$A\$ and \$B\$. For example, \$\{(1, 5), (1, 6), (2, 4), (3, 5)\}\$ is a ...
emanresu A's user avatar
  • 34.4k
0 votes

Sandbox for Proposed Challenges

Interpret a Turing Complete (strict) Subset of your Language Write a program which can interpret some programs exactly the same way as your language, where these can be used to model any computation. ...
Jan H's user avatar
  • 101
3 votes

Sandbox for Proposed Challenges

I (rev)?(pal)? the source code, you (rev)?(pal)? the input!
Bubbler's user avatar
  • 73.1k
1 vote

Sandbox for Proposed Challenges

Barbrack Your task is to write a program or function that takes a non-negative integer (in decimal or any other convenient base for your language) and output a number in the numbering system Barbrack. ...
Someone's user avatar
  • 155
1 vote

Sandbox for Proposed Challenges

Given A Binary String, Determine Which Of Certain Substrings Are Equal And Opposite yea the title is going to need some work Concept Take an even length binary string ...
thejonymyster's user avatar
-2 votes

Sandbox for Proposed Challenges

Execute... yourself! Almost a duplicate, but only requires you to compile a subset, and is closed. You work at a compiler factory, making compilers tailored to your customers. Challenge In a ...
The Empty String Photographer's user avatar
5 votes

Sandbox for Proposed Challenges

Print the answer before a given answer code-golf answer-chaining quine In this challenge, you'll take an answer as input, and print the answer before it. If the answer passed as input is the first ...
Rydwolf Programs's user avatar
1 vote

Sandbox for Proposed Challenges

Fastest decimal to binary binary base-conversion fastest-code number Same challenge, but code golf Given a decimal number, your task is to convert it to binary. Test cases ...
Command Master's user avatar
2 votes

Sandbox for Proposed Challenges

Find the k-th largest number Given the string representation of three sorted lists, get the k-th largest number. The string representation has such form: ...
l4m2's user avatar
  • 19.1k
2 votes

Sandbox for Proposed Challenges

Add two rational numbers... esoterically Objective Build a binary operator \$\star : \mathbb{Z} \times \mathbb{Z} \to \mathbb{Z}\$ such that, there exists a bijection \$i : \mathbb{Z} \to \mathbb{Q}\$ ...
Dannyu NDos's user avatar
  • 5,143
3 votes

Sandbox for Proposed Challenges

Implement Subleq
97.100.97.109's user avatar
0 votes

Sandbox for Proposed Challenges

Find an eigenvalue of a 3x3 Matrix Write a program of function that given a 3x3 matrix as input outputs an Eigenvalue of that matrix Examples/Test-cases: ...
bsoelch's user avatar
  • 4,721
0 votes

Sandbox for Proposed Challenges

really shitty sloppy wip but i just want to start this post so that i can be past the first hurdle next time i look at this. feel free to ask anything just know this is like step 0; implement this ...
thejonymyster's user avatar
3 votes

Sandbox for Proposed Challenges

Do you win a Numeric Mahjong?
Bubbler's user avatar
  • 73.1k
3 votes

Sandbox for Proposed Challenges

The multiples are missing code-golf integer sequence Given a number \$n\$, you are to compute the sequence of positive numbers where for each number \$a\$, the \$n\$-times multiple \$n\cdot a\$ is ...
Laikoni's user avatar
  • 25.8k
0 votes

Sandbox for Proposed Challenges

Roll a ball down an array You are in a frictionless environment in a vacuum. Obligatory XKCD You are given a inertialess, sizeless point mass which you have to roll down a slope. The ball starts with ...
0 votes

Sandbox for Proposed Challenges

Tamagochi code-golf I can't believe there has never been a Tamagochi challenge on code golf! Edit: There has never been a Tamagochi challenge, but there was a Tamagotchi, whatever that is. Rules: ...
ToAskOrNotToAsk's user avatar
3 votes

Sandbox for Proposed Challenges

Numbers with distinct decimal digits
bsoelch's user avatar
  • 4,721
0 votes

Sandbox for Proposed Challenges

Digits of Infinity (computing A206636) code-golfmath In this PDF, https://www.vixra.org outlines a way to find the last \$ n \$1, 3 digits of infinity and a method to do so. Let us define the infinity ...
UndoneStudios's user avatar
2 votes

Sandbox for Proposed Challenges

Calculate NDos-size of given integer Objective Given a nonnegative integer, calculate its NDos-size as defined below, and output it. NDos' numeral system The concept of NDos-size comes from the ...
Dannyu NDos's user avatar
  • 5,143
6 votes

Sandbox for Proposed Challenges

Find the largest sum such that no two elements are touching
bsoelch's user avatar
  • 4,721
0 votes

Sandbox for Proposed Challenges

Sokobunny I
ToAskOrNotToAsk's user avatar
2 votes

Sandbox for Proposed Challenges

Build the smallest self driving Car code-golf Your goal is building the smallest self driving car to get from A to B. The car is ...
flawr's user avatar
  • 43.6k
3 votes

Sandbox for Proposed Challenges

Play a game of memory
Philippos's user avatar
  • 670
2 votes

Sandbox for Proposed Challenges

Unique String Deletions You are given a string s, where s.length <= 42, and an integer k, ...
ToAskOrNotToAsk's user avatar
0 votes

Sandbox for Proposed Challenges

Simulate Feedback Scheduling on a Uniprocessor Alternatively, exploiting university course content for code golf reputation Like round robin scheduling, Feedback Scheduling is a way to schedule ready ...
lyxal's user avatar
  • 31.4k
2 votes

Sandbox for Proposed Challenges

How sorted is this array Given an array output the minimum number of swaps needed to sort that array Examples ...
bsoelch's user avatar
  • 4,721
2 votes

Sandbox for Proposed Challenges

Sums of sum of divisors in sublinear time
Command Master's user avatar
0 votes

Sandbox for Proposed Challenges

Return every possible program with positive probability Write a program or function a (subset of a) Program language of your choice that returns every possible Program in the same Language with a ...
bsoelch's user avatar
  • 4,721
3 votes

Sandbox for Proposed Challenges

How many ways to cut a number into an equation?
Philippos's user avatar
  • 670
0 votes

Sandbox for Proposed Challenges

BB⁻¹(TREE(3)) Construct a Turing machine with tape alphabet {0, 1} that, starting on a tape filled with 0, it halts with at least TREE(3) 1's. Least states wins. Notes As math scat mentioned, this is ...
l4m2's user avatar
  • 19.1k
3 votes

Sandbox for Proposed Challenges

Sum of consecutive nth powers code-golf math integer
MTN's user avatar
  • 761
4 votes

Sandbox for Proposed Challenges

The Legend of Koth Episode 1: WANTED Alright. The WumpusWars project turned out to be more than I can swallow, so I had to give it up. If you're interested in hosting the competition yourself go ahead:...
Shiran Yuan's user avatar
2 votes

Sandbox for Proposed Challenges

What's my score? The question score on Stack Exchange is the total number of upvotes minus the total number of downvotes a question receives. However, the reputation gained/lost for every upvote/...
math scat's user avatar
  • 7,909
1 vote

Sandbox for Proposed Challenges

Simulate Round Robin Scheduling
lyxal's user avatar
  • 31.4k
2 votes

Sandbox for Proposed Challenges

Median of Chi-Square Output the IEEE-754 single-precision floating-point number represented by the following binary decomposition: ...
Dannyu NDos's user avatar
  • 5,143
2 votes

Sandbox for Proposed Challenges

Volume of a squaricililinder Inspired by an interestingly-shaped glass at a cafe. WHAT THE HECK IS A SQUARICILILINDER!?!?! A squaricililinder is a prism with a square at one end and a circle at the ...
The Empty String Photographer's user avatar
4 votes

Sandbox for Proposed Challenges

There's more than one way to do it cops-and-robbers Cops: Pick a freely available programming language, and pick a function on the integers (i.e. given one integer as input, it produces one integer as ...
DLosc's user avatar
  • 37.8k
2 votes

Sandbox for Proposed Challenges

Pseudo-Quantum Bogosort Quantum Bogosort is as follows: Quantumly randomise the list, such that there is no way of knowing what order the list is in until it is observed. This will divide the ...
Pacmanboss256's user avatar
4 votes

Sandbox for Proposed Challenges

Be big more often
The Empty String Photographer's user avatar
3 votes

Sandbox for Proposed Challenges

A robber flipped some bits. This is what happened to the cop's code. cops-and-robbers Objective Cops shall pose a code that outputs a truthy or falsy value deterministically, depending on the input. ...
Dannyu NDos's user avatar
  • 5,143
1 vote

Sandbox for Proposed Challenges

Implement RAID RAID, or Redundant Array of Independent Disks is a way to efficiently store data in such a way that if any one disk fails you can still recover the data. Instead of implementing the ...
mousetail's user avatar
  • 11.4k
0 votes

Sandbox for Proposed Challenges

Calculate equal, winning or losing trades in chess For this challenge, assume you are playing white Given two arrays containing all white and black chess piece positions on a chessboard, output if a ...
Luis felipe De jesus Munoz's user avatar
3 votes

Sandbox for Proposed Challenges

Order by Earliest Lower Digit
thejonymyster's user avatar

Top 50 recent answers are included