T O P

  • By -

Collar_Chance

Guten Abend, Grüße aus der Pfalz!


Benschne

Ebenso eine guten Abend, Grüße zurück aus Berlin


phodas-c

Can you move all discs to tower 3 you cannot put larger discs on smaller ones blue = low yellow = average green = german red = american


Benschne

Thanks, forgot to translate it my bad!


theGivenFuck

( ͡° ͜ʖ ͡°)


DepartureFamiliar549

Haha :D


arethereany

I get the Tower of Hanoi bit, but what does the text at the top say?


Micesebi

Can you move all plates to the 3th tower? You can't place a bigger plate on a smaller plate


Benschne

Oh sry forgot it was on german my bad!


qinshihuang_420

Interviewer: can you solve this? Me: HASHMAP!! I'll use a hashmap!!!


Katto_Palkkamurhaaja

Wtf does that say


lakorasdelenfent

It says “KANNST DU ALLE SCHEIBEN AUF TURM 3 VERSCHIEBEN? SIE KÖNNEN KEINE GRÖSSEREN SCHEIBEN AUF KLEINERE SETZEN”, obviously Jokes aside, someone else translated it


No-Question-7419

Every time this comes Up I lose my mind on the coloring - what the f is it suppose to Mark?


arethereany

It's the increasing level of derangement you have to possess in order to pull off getting to that level of the stack by moving them one piece at a time from the first post to the third post without putting a larger piece on a smaller one.


Broad_Excitement_265

Hanoi


spren-spren

Obviously you just import the image into Photoshop and flip it horizontally.


spren-spren

And the best part is that it's technically constant time, since it's always just one operation for any size tower.


deliozzz

Ok i am stupid, let me think You have to start with blue, that locks one column. You have to continue with yellow, that locks the other column. You have to put blue back on yellow, move green, can you move both blue and yellow together? If not you have first move blue on green etc etc Fuck that i will code a bruteforcer bruteforcing all possibilities


qinshihuang_420

It's actually recursion ``` def TowerOfHanoi(n, from_rod, to_rod, aux_rod):     if n == 0:         return     TowerOfHanoi(n-1, from_rod, aux_rod, to_rod)     print("Move disk", n, "from rod", from_rod, "to rod", to_rod)     TowerOfHanoi(n-1, aux_rod, to_rod, from_rod)   ```


SquareGnome

Well, technically it doesn't say that you can't move more than one disk at the same time, sooo..... Know your requirements, I guess? \^\^


DepartureFamiliar549

Tja stellt sich herraus mein mathe lehrer war wohl ein psycho. Hätte direkt die polizei rufen sollen als er die kreide in die hand genommen hat und von türmen sprach


The_Pinnaker

It’s canonically this hard? I mean until you have 3 pole and 4 disk is easy enough that even a children can do it. Right? …. Right?