Discrete Math
What is the probability of rolling a 3 on a standard six-sided die?
What is the probability of spinning a 12 on a spinner with 16 equally sized sectors?
What is the probability of spinning a blue on a spinner with 5 blue sectors and 11 yellow sectors?
What is the probability of drawing a green marble from a bag containing 3 green marbles, 7 yellow marbles, and 1 white marble?
Jane tosses two fair coins. What is the probability of getting exactly one head?
Given a deck of 52 cards, what is the probability of drawing three Aces and two Jacks?
I toss a coin and then I roll a six-sided die. What is the sample space?
If you have a couple and they have two different children, and you know that at least one of those children is a girl, what is the probability that both of the children are girls?
Calculate the probability of it raining during a picnic given that it is cloudy in the morning using Bayes' Theorem. You know the probability of rain on any given day is 0.15, the probability of it being cloudy in the morning on any given day is 0.25, and the probability of it being cloudy if it rains is 0.8.
Show that is on the order of or Big O of .
Determine the Big O notation for the following linear time for loop: where the loop prints numbers 0 through n. Analyze its time complexity.
Compute the Big O notation for the given block of code. Assume each statement in the sequence has already been deduced to its Big O.
Perform an in-order traversal on a given binary tree.
Perform a post-order traversal on a given binary tree.
Perform a pre-order traversal on a given binary tree.
Given a binary tree, calculate its pre-order traversal.
Find the in-order traversal of a given binary tree.
Determine the post-order traversal of a given binary tree.
Evaluate the binomial coefficient .
Evaluate the binomial coefficient .