Tag: golang

  • Rubiks cube – two twisted corners

    How to solve a cube that only has two (or four) twisted corners? As the default way of solving a cube with twisted corners is quite strange, wanted to investigate if, be use of some software, we could come up with an alternative way of solving that last step. See readme on github: https://github.com/MelleKoning/rubikscubelaststep/

  • You have 10 red and 10 black marbles…

    You have 10 red and 10 black marbles. In how many ways can you put the 20 marbles in a row so that no more than two marbles of the same colour lie next to each other? An example of a valid sequence would be: Can you reason your way out of this one or…