InsideDarkWeb.com
  1. All Categories
  2. Code Golf

Code Golf : Recent Questions and Answers

Find answers to your questions about Code Golf or help others by answering their Code Golf questions.

Triangular code, triangular output

For this challenge, submissions should be a program or function shaped like a right triangle, which produces a right triangle of the same size. What is a right triangle? For...

Asked on 11/28/2021

61 answer

Print this diamond

This question has been spreading like a virus in my office. There are quite a variety of approaches: Print the following: 1...

Asked on 11/25/2021

121 answer

"Hello, World!"

So... uh... this is a bit embarrassing. But we don't have a plain "Hello, World!" challenge yet (despite having 35 variants tagged with ...

Asked on 11/21/2021

880 answer

Automate Saving the World

You are Desmond Hume. For the last 3 years, you and your partner, Kelvin, have been slave to a computer that requires a very specific sequence to be entered into...

Asked on 11/21/2021

20 answer

Rotate every 2x2 block in a matrix

The ChallengeGiven a n x m matrix with n > 1 and m > 1 filled with integers1 2 34 5 6and a list of integers with exactly...

Asked on 11/21/2021

4 answer

Showcase of Languages

NotesThis thread is open and unlocked only because the community decided to make an exception. Please do not use this question as evidence that you can ask similar questions...

Asked on 11/19/2021

238 answer

Saddle points in a matrix

A matrix can be thought of as the altitudes of a surface in 3D space.Consider the 8 neighbours (orthogonal and diagonal) of a cell as a cyclic sequence in...

Asked on 11/19/2021 by ngn

5 answer

Trilaterate your position

IntroductionImagine you are on a two dimensional cartesian plane and want to determine your position on it. You know 3 points on that plane and your distance to each of...

Asked on 11/17/2021 by Denker

4 answer

Simplest Tiling of the Floor

You should write a program or function which receives a string describing the floor as input and outputs or returns the area of the simplest meta-tiling which could create the...

Asked on 11/15/2021 by randomra

5 answer

Is magic possible?

A magic square is an n-by-n square grid, filled with distinct positive integers in the range 1,2,...n^2, such that each cell contains a different integer and the sum...

Asked on 11/08/2021

2 answer

Ask a Question

Get help from others!

© 2021 InsideDarkWeb.com. All rights reserved.