stevenhalim/cpbook-code

Missing code translations

Opened this issue · 2 comments

As of 13 July 2020, getting much better for java/py/ml
Let's reduce this as much as possible before 18 July 2020.

Missing Java
ch3/greedy/ballotboxes_UVa12390.java (direct conversion from cpp and using BufferedReader/PrintWriter still TLE...)
ch6/Trie.java
ch8/UVa10243.java (direct conversion from cpp and using BufferedReader/PrintWriter still TLE...)
ch9/mcmf.java (Felix has done this, check with him)

Missing Python
ch2/lineards/array_algorithms.py (still incomplete)
ch7/triangles.py (incomplete, too long)
ch7/polygon.py (incomplete, too long)

Missing OCaml
ch2/lineards/array_algorithms.ml (OCaml array operations)
ch3/greedy/grass_UVa10382.ml
ch5/factovisors_UVa10139.ml
ch4/traversal/toposort.ml
ch4/traversal/cyclecheck.ml
ch4/traversal/articulation.ml
ch4/hierholzer.ml
ch5/modInverse.ml
ch5/combinatorics.ml
ch6/Trie.ml
ch9/GaussianElimination.ml
ch9/mcmf.ml
ch9/LCA.ml

Also missing but in reality a low priority task
ch2/nonlineards/AVL.py (will be very tedious)
ch2/nonlineards/AVL.ml (will be very tedious)
ch3/greedy/ballotboxes_UVa12390.ml (probably TLE too)
ch5/UVa01230.ml (no OCaml in UVa)
ch7/UVa11817.ml (no OCaml in UVa)
ch8/UVa11195.java (probably TLE)
ch8/UVa11195.py (probably TLE)
ch8/UVa11212.java (probably TLE)
ch8/UVa11212.py (probably TLE)
ch8/UVa01099.java (probably TLE)
ch8/UVa01099.py (probably TLE)
ch8/UVa11065.py (probably TLE)
ch8/UVa10243.ml (no OCaml in UVa)
ch8/UVa11646.ml (no OCaml in UVa)
ch8/UVa01079.py (probably TLE)
ch9/UVa11616.ml (no OCaml in UVa)
ch9/UVa10181.py (probably TLE)
ch9/UVa10181.ml (no OCaml in UVa)

@howsiwei , @pdnm , @bayweiheng (only if you have time, help with the last few missing OCaml parts)
I am clearing Java files today/tomorrow, @seffendy is doing Py files today/tomorrow

I'll deal with the missing Ocaml files in chapters 2, 3 and 9 this weekend.