solve some problems with Prolog

Job ID: 35515646

Budget: $30 – $250 USD

6 small Leetcode type of problems using Prolog. Example:

"Show a Prolog predicate “indices” that takes a list of indices (numbering from zero) and a list of elements, and returns a list of the elements with the indices, so that
indices( [1,3,4], [a,b,c,d,e,f], ES )
ES = [b,d,e]"

$10 for each above-listed type of question. total $60
Deadline is December 17.
Related categories: Prolog Coding