Question: In Elixir, please create the following TAIL RECURSIVE functions: Q 1 : Write a function concatStr - This function accepts a list that can contain

In Elixir, please create the following TAIL RECURSIVE functions:
Q1: Write a function concatStr - This function accepts a list that can contain values of any type. You should return the concatenation of all the strings in the list.
For example, if the input is [3,7,cat,9,dog,horse,-5,mouse], you would return catdoghorsemouse
Q2: Write a function filterStr This function accepts a list that can contain values of any type.
Build and return a new list with all the strings removed.
For example, if the input is [3,7,cat,9,dog,horse,-5,mouse], you would return [3,7,9,-5].

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!