lots of exercises in java... from https://github.com/exercism/java

VariableLengthQuantity.java 379B

12345678910111213
  1. import java.util.List;
  2. class VariableLengthQuantity {
  3. List<String> encode(List<Long> numbers) {
  4. throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
  5. }
  6. List<String> decode(List<Long> bytes) {
  7. throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
  8. }
  9. }