Recent content by lee534

  1. L

    Relations with big oh and big theta

    oh that's a good point, sorry I didn't take into account that proofs would work. thanks
  2. L

    Combinations and Permutations in Briefcase and Coin Problems

    AH I solved it!, Thank you for replying to the posts!
  3. L

    Combinations and Permutations in Briefcase and Coin Problems

    for the positioning would it matter if the doubles were not next to each other for ex. 12125 or 13212?
  4. L

    Combinations and Permutations in Briefcase and Coin Problems

    Hi all I need some assistance 1. Homework Statement with the attempt How many 5-digit briefcase combinations contain 1. Two pairs of distinct digits and 1 other distinct digit. (e.g 12215) I wasn't sure on which approach was correct. 10 * 9 * 8 (because there are three distinct...
  5. L

    Relations with big oh and big theta

    Hi all, this is a problem that I want to start early on, but I'm not sure how to show my work for this. If i say the theorems it just feels repetitive. So I guess my question is, is using theorems enough to answer this? thank you! Homework Statement determine the properties of each...
  6. L

    Understanding Time Complexity in Code: Explained for Beginners"

    So is it easier to analyze it by loops? Because I found this method online and the professor did not teach how us to read code as you are describing (he was also using a different format from this problem, but I'm guessing it's analyzed the same?). okay so for a. can we look at it this way? a...
  7. L

    Understanding Time Complexity in Code: Explained for Beginners"

    Hi this is my first post and I having an extremely hard time finding time complexity in code note: I have had no compsci experience (since it was career change) and the professor only went over this for 30 mins Homework Statement What is the time complexity (in Θ –notation) in terms of n ? (the...
Back
Top