You'd need to write a function(s) that solves the task. Tests are required, please set up your CI to check test coverage threshold at least 70%.
Do tasks as one PR to your repo.
Try to keep code readable and without obvious performance issues like algorithms O(N^3) computation complexity.
Try to use only standard golang packages, reuse your own code.
Don't forget about nil, empty or zero cases. :)
slices
Add given int(N) to each of []int elements.
Add the number int(N) to the end of the slice.
Add the number int(N) to the beginning of the slice.
Take the last number of slice, return it to the user, and remove this element from slice.
Take the first slice number, return it to the user, and delete this element from slice.
Take the i-th number of slice, return it to the user, and delete this element from slice. The number i is passed by the user to the function. Try to do it without allocating a new slice.
Merge two slices and return a new one with all elements of the first and second without duplicates.
From the first slice, remove all the numbers that are in the second.
Shift all slice elements by 1 to the left. Zero index element becomes the last one, the first - zero, the last - penultimate.
Same, but shift by user-specified i.
Same as 9, but right shift.
Same, but shift by i.
Return a copy of the passed slice to the user
swap all even index elements with the nearest odd indices. eg. 0 and 1, 2 and 3, 4 and 5 etc.
Sort slice in the given order: direct, reverse, lexicographic (you'd need at least []int and []string).
maps
There is a text, you need to count how many times each word occurs.
There is a very large array or slice of integers, it must be said which numbers are mentioned in it at least once.
There are two large arrays of numbers, you need to find which numbers are mentioned in both.