Here are some very basic function with self-explanatory name, to be coded in Scala for a super beginner.
Some of them are very inefficient, pay attention to use them, they are only for demonstration.
1. Find the last element of a list
2. Find the first element of a list
3. Find the last but one
4. Find the k-th element of a list
5. Find the number of elements of a List
6. Reverse a list
Simple solution:
Procedural solution:
7. Find out wheter a list is palindrome
8. Flatten a nested list structure
9. Eliminate consecutive duplicates of list elements
10. Pack consecutive duplicates of list elements into sublists