Skip to content

About

Java data-structures practice projects I use for tutoring: starter code, specifications and reference solutions.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Java DSA Practice

Build and test

These are data-structures practice projects I use when tutoring Java. Each exercise comes with:

  • starter code to give a student;
  • a specification, or requirements written into the starter code;
  • a reference solution;
  • tests.

The exercises focus on habits that intro courses often skip: validating every user input, keeping classes and methods focused, choosing the right visibility, and working from a library someone else wrote.

Exercises

Exercise Practices Versions
Plane seating 2D arrays, doubly linked lists, interfaces, nested classes, input validation, console menus basic (single class) and interfaces (shared interface, two data structures)

Using an exercise

Give the student the exercise's starter folder and its specification. They implement the empty methods without changing the provided signatures. The exercise README explains how to compile and run their code. Point them to the tests once they have a working version.

Solutions sit in each exercise's solution folder. Ask students not to open them until they have finished.

Build and test

Requires JDK 21 or newer and curl.

./build.sh        # compile every starter and solution, then run the tests
./build.sh jar    # also rebuild the plane-seating library JAR from source

The script downloads the JUnit console launcher once into .cache/ and verifies its checksum. Compiled classes go to build/. CI runs the same script on every push.

License

MIT

About

Java data-structures practice projects I use for tutoring: starter code, specifications and reference solutions.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages