Monthly Archives: October 2016

English Ruler base Recursion

English Ruler base Recursion

 * ---- 0
 * -
 * --
 * -
 * ---
 * -
 * --
 * -
 * ---- 1
 *  -
 * --
 * -
 * ---
 * -
 * --
 * -
 * ---- 1
Algorithm:
  • In general, an interval with a central tick length L >=1 is composed of:
    • An interval with a central tick length L – 1
    • A single tick with Length L
    • An interval with a central tick length L – 1

Latest Source Code:
Github: EnglishRuler.java


Output:

---- 0
-
--
-
---
-
--
-
---- 1
-
--
-
---
-
--
-
---- 2