| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
📚 Learning and exploring algorithms (simple ones!) in Java.
This codebase is for me to explore basic algorithms using Java. I started the beginnings of this codebase years ago (2015) without version control. Later, I formalized it as a Git repository, added "run instructions" and did other clean ups. Today (2023), I want to get even more leverage out of it as I continue to implement algorithms in Java as a way to learn language features like Java's Pattern Matching for switch and in general to enrich my intuition about computational power in the same spirit as Computers are Fast.
A tenet of a codebase like this is to reduce the noise. That's why the project does not use a build tool like Gradle or Maven and instead relies on a direct invocation of javac to compile the program. A project like this is for "early programmers" who are learning principles of computation and just enough programming language knowledge (e.g. Java, javac, and java; or honestly a non-compiled language would be best) to exercise their knowledge.
NOTE: This project was developed on macOS. It is for my own personal use.
Follow these instructions to build and run the program.
./build.shjava -cp out/ --enable-preview dgroomes.MainQuestion 1.1
testing: charsAreAllUnique_v_1
input string|expected result|actual result
a|true|true
ab|true|true
ba|true|true
aa|false|false
|true|true
testing: charsAreAllUnique_v_1
input string|expected result|actual result
a|true|true
ab|true|true
ba|true|true
aa|false|false
|true|true
Question 1.3
testing: isAPermutationOfB
input string|expected result|actual result
baa|true|true
aba|true|true
a|false|false
testing: isAPermutationOfB
input string|expected result|actual result
baa|true|true
aba|true|true
a|false|false
... snip ...
General clean-ups, TODOs and things I wish to implement for this project:
| Back | FazBrowse Home | New Git URL |