Your proposal on adding implementations of algorithms in the domain of Theory of Computation is perfect.
We may keep the name of the sub-directory as
Your first pull request towards this looks good.
Surely, go for it and we will join you on this journey
Thank you so much! This was my first contribution to github! Should I make a new pull request with different directory name? Also, multiple commits in a single pull request should not be a problem, right?
Your first open-source contribution is great
You may update the existing pull request. Yes, you may have multiple commits in a pull request
I made changes as you said, and also added implementations for DFA minimization and NFA to DFA conversion. I am waiting for my first contribution to be merged!
Your last update to your pull request deleted previous codes and hence, no change is associated with it.
The codes look good. Do fix your pull request and it will be ready to be merged
I didn’t delete any code, but renamed the directory as you said
Never mind, I ammended the commit
I have merged your perfect pull request. Congratulations, you have made your first contribution
Your commits won’t work. nfa.py imports dfa.py. I tried to import it from different directories, but couldn’t successfully do so. I tackled a lot of python package making jargon, but then decided it wasn’t worth it. Do change it if you know how.
I just saw your comment
# located at code/theory_of_computation/src/deterministic_finite_automaton/dfa.py. I would have preferred them in the same directory for convenience. Also, further contributions will also be difficult with this structure. I suggest if you know setting up python packages using __init__.py files, it would be the best. Other option is we can just make all code files self contained, but that would cause problems while maintaining.