How do i include inclusion exclusion principle and venn diagrams in this type of problem?

52 Views Asked by At

I have to do a task where i need to create requirements for 3 different types of passwords and find its probability: my requirements are:

The password length has to be exactly 8 for each level

no characters can be repeated to include permutations and combinatorics

Low level: Only lower case letters and numbers and must contain at least one letter.

Medium Level: Lower case letters, Capital letters and numbers are allowed and must contain at least one of each.

High level: Lower case letters, capital letters, numbers and special characters are allowed and must contain at least one of each.

I have developed combinatorics cases for it and stuff but i need some way to incorporate venn diagrams and inclusion exclusion principle. IDK how to please someone help out.

its an entire task, but the goal is to make requirements for 3 different types of passwords and then use these requirements to find the number of possible combinations for it.

Anyways my requirements are above, by no characters can be repeated i mean that numbers, letters or special characters cannot be repeated in the pasword, there has to be only one of each. I wanna find some way to inclue venn diagrams into this.