Java using GradleEach Folder (Package) will have a file with implementation of Code Challenge. Corresponding to the file will be a test file to test that Challenge.
datastructures subfolder of the main branch of Gradle library source, with the name of the new data structure in the folder and class names, and complete your implementation there.
lib\src\main\java\datastructures\linkedlist\LinkedList.javadatastructures subfolder of the test branch of Gradle library source, with the name of the new data structure in the folder and class names, and complete your test implementation there.
lib\src\test\java\datastructures\linkedlist\LinkedListTest.javaUtilize Gradle to test Tests on Implementation. to do this one can simply run ./gradlew test fileTest.java or utilize the IDE such as Intellij.
Some code challenges are not so much “interview style” algorithms, but rather tasks to “extend” your base class. In these cases, you should simply be adding methods to your class along with the appropriate tests.
datastructures folder.
lib\src\main\java\datastructures\linkedlist\LinkedList.javadatastructures folder.
lib\src\test\java\datastructures\linkedlist\LinkedListTest.javaCreate a github action to automatically run all of your tests as you check in your code. These results should match your own, and will be readily found on the Actions tab.