We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Hiring developers?
  1. Prepare
  2. Tutorials
  3. 10 Days of Statistics
  4. Day 2: Basic Probability

Day 2: Basic Probability

Problem
Submissions
Discussions
Editorial
Tutorial

Objective
In this challenge, we practice calculating probability. Check out the Tutorial tab for a breakdown of probability fundamentals!

Task
In a single toss of fair (evenly-weighted) six-sided dice, find the probability that their sum will be at most .

<p>2 / 3</p>
<p>5 / 6</p>
<p>1 / 4</p>
<p>1 / 6</p>

Need Help?


View tutorial
View discussions
View editorial
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy