Technical interview to solve a fairly simple problem. I proved that I am an idiot.

Really don't want to work for a company that doesn't test new hires well and hires idiots. Ironic :D

  • 1
    What problem was it?
  • 0
    What was the given problem?
  • 0
    Simulate throwing a dice 4 times. Print specific points for a straight, 4 of a kind, 3 of a kind, pair, or the number you rolled if no other rules apply.

    I totally lost my head and could not even think about the problem. Quite embarrassing given it's not terribly hard.
  • 2
    Well, you can simulate a dice with a random function.

    But what that 4 of a kind, pair, etc mean there?
  • 0
    You need to roll the dice 4 times. Of all 4 are the same number 50 points, if it's a straight like in poker 100, 3 of a kind 25 points. So on.
  • 0
    I see! Looks fairly easy to me.
  • 0
    Never played poker so I guess I would have failed too :>

    Edit: You know my religion prohibits me to gamble right?
  • 0
    @daearol test involving RNG? Are they some intermediary by casino?
  • 0
    @vintprox Terminology I’m not familiar with
  • 0
    Yes lol
Add Comment