java solutions
ruby solutions
scala solutions