Problems in OCaml
Monday, 02 March 2009 09:38

I keep receiving emails with problems sets and questions about OCaml programming mostly from readers of the "99 Problems in OCaml". Many thanks to those who wrote me! I am happy to reply as soon as I can, however note the following :

  • Please don't send me problem sets from assessed coursework. Assignments are meant for you to thrive on, and for your teachers to measure your/their progress.
  • Don't send me problem sets handed out by companies for interviewing purposes. If you don't manage the application procedure, you won't cope with your job.
  • If you do send me a problem to solve, expect me to make the solution available to the public. If you need me to not undisclose either problem or solution, indicate it in your email.
  • Send your question/problem to ocaml(at)christiankissig.de.

Below you find the solutions to some problems.

  1.  A list of integers is called zero-sum if the sum of its elements is 0 and balanced if it is the least zero-sum list among its non-empty sublists. Given a list l it is to find the balanced sublists of l.[ Solution, OCaml ]

blog comments powered by Disqus
Last Updated on Thursday, 19 March 2009 15:45