Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a StringStartOrEnd Factory #185

Open
MathyouMB opened this issue Jul 14, 2022 · 0 comments
Open

Create a StringStartOrEnd Factory #185

MathyouMB opened this issue Jul 14, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MathyouMB
Copy link
Member

MathyouMB commented Jul 14, 2022

Please create a factory for this question:

Image

There are four elements that need to be generated for this question, the length of the string, the size of the alphabet, and the two start and end substrings. These substrings need to have a combined length that is less than the total length for this question to work.

A guide for the math used for this question can be found here.

Here is the string formatting for the above screenshot:

`
Consider strings of length 4 over the alphabet $\{a,b,c,d\}$. How many such strings are there that start with $ad$ or end with $dcb$?
		
17, 18 ,19 (correct), 20
`

Please copy the way this file generates questions.

@MathyouMB MathyouMB changed the title Create a BitstringStartEnd Factory Create a StringStartEnd Factory Jul 14, 2022
@MathyouMB MathyouMB changed the title Create a StringStartEnd Factory Create a StringStartOrEnd Factory Jul 14, 2022
@MathyouMB MathyouMB added the enhancement New feature or request label Jul 14, 2022
@xxArchitect xxArchitect self-assigned this Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

2 participants