Exercises (Cont.)
1.3 Describe solutions to the following variants of Exercise 1.1:
a. Output one copy of only the duplicates in a list of elements.
b. Count the number of times an element app in a list.
c. Count the ten most frequently occurring words in a
1.4 In the language of your choice, write programs to read
two integers m and n and produce the desired result without
using multiplication and division. Use repeated additions and
a. m * n (the result of multiplication).
b. m div n (the result of integer division).
c. m mod n (the remainder after integer division).