40

Interview task:
Win this game

Comments
  • 4
    Seems doable tbh
  • 17
    Wait people know how to actually play the game? Thought it was just click till you lose
  • 3
    @Stuxnet Every number tells you how many mines there are in the 8 squares around it. Easiest thing you can start with is to mark the corners that have 1s pointing at them - then you can reveal everything else.
  • 4
    @kamen I know lol was joking

    It did take a long time for me to learn tho. Used to just click whenever I was a kid
  • 3
    One with multiple unclear states would be better. I wonder if we qould make one version with a quantum computer so that the state of the board is random and unpredictable for real.
  • 1
    Duh, it isn't even hard. I'd love a quantum version though. Or one based on wfc algorithm.
  • 3
    Oh I'd win this easily.
  • 1
    Wow what kind of interview it is, I want in.
  • 2
    @Stuxnet Too assumptious of me, sorry. But then again, tons of people don't know how to play.
  • 0
    Can I look up how on stack overflow?
  • 0
    @linuxxx really.... But what about the 50-50 situations where it's just upto luck?
  • 0
    @billgates not so much certainty then, obviously ;)

    But I played this to death as a kid!
  • 1
    @linuxxx the good old days, grew up without internet. I feel sorry for nowadays kids
  • 0
    Give me source code
  • 0
    I never realized... But this is a nice case of constraint programming...

    *grabs his old syllabus*
Add Comment