Hello every one
i noticed that the daily challenges has disappeared from the community this days .So i thought about making my own daily challenge
Remove letters from list
Task
Create a procedure that its input is a list of letters and a string.the procedure should remove the letters in the string from the list.And return the new list.
Examples
removeLetters(s t r i n g w) - "string" โ (w)
removeLetters(j d u k a l o l r) - "KODULAR" โ ( j l )
removeLetters( i l d a y) "daily"โ ()
Notes
1- The procedure wonโt be case sensitive. so K and k are the same letter ( see example 2 )
2- It will return an empty list if all the letters are used.( see example 3 )
3- If number of times a letter appears in the list is greater than the number of times the letter appears in the string, the extra letters should be left behind (see example 1).
4- This challenge will be for one day only.Then i will post my answer here.
5- You canโt use any components, extensions,scripts in this challenge.This challenge is done with 0 components only.
Regards,
Mohamed Tamer