# HG changeset patch # User Christian Urban # Date 1604501749 0 # Node ID c5ad0e3f2a6d7af087da6ea4fabfa259d6692b56 # Parent 682611a0fb89cb63db961632adc739b35776cd9d updated diff -r 682611a0fb89 -r c5ad0e3f2a6d cws/main_cw02.tex --- a/cws/main_cw02.tex Wed Nov 04 14:46:03 2020 +0000 +++ b/cws/main_cw02.tex Wed Nov 04 14:55:49 2020 +0000 @@ -195,10 +195,11 @@ (of strings) and count how often the strings occur in this list. This produces a list of string-int pairs, where the first component is the movie name and the second - is the number of how many times they were recommended. + is the number of how many times the movie was recommended. Sort all the pairs according to the number of times they were recommended (most recommended movie name - first).\mbox{}\hfill [1 Mark] + first).\\ + \mbox{}\hfill [1 Mark] \end{itemize} diff -r 682611a0fb89 -r c5ad0e3f2a6d main_solution2/danube.jar Binary file main_solution2/danube.jar has changed diff -r 682611a0fb89 -r c5ad0e3f2a6d main_templates2/danube.jar Binary file main_templates2/danube.jar has changed diff -r 682611a0fb89 -r c5ad0e3f2a6d main_templates2/danube.scala --- a/main_templates2/danube.scala Wed Nov 04 14:46:03 2020 +0000 +++ b/main_templates2/danube.scala Wed Nov 04 14:55:49 2020 +0000 @@ -164,7 +164,7 @@ // (of strings) and count how often the strings occur in // this list. This produces a list of string-int pairs, // where the first component is the movie name and the second -// is the number of how many times they were recommended. +// is the number of how many times the movie was recommended. // Sort all the pairs according to the number // of times they were recommended (most recommended movie name // first).