From c9dd9469183d95c6c2f4d01e3d6365ec57386a65 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Mon, 25 Apr 2022 18:43:46 +0200 Subject: Initial commit --- src/algorithmus/Zaehlen.java | 55 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100755 src/algorithmus/Zaehlen.java (limited to 'src/algorithmus/Zaehlen.java') diff --git a/src/algorithmus/Zaehlen.java b/src/algorithmus/Zaehlen.java new file mode 100755 index 0000000..048377e --- /dev/null +++ b/src/algorithmus/Zaehlen.java @@ -0,0 +1,55 @@ +package algorithmus; + +public class Zaehlen extends Algorithmus { + + private String name = "Zaehlen"; + + @Override + public void options() { + // TODO Auto-generated method stub + + } + + @Override + public String getName() { + return name; + } + + @Override + public String encode(String input) { + input = input.toLowerCase(); + int[][] arr = new int[2][26]; + for(int x = 0; x