Names Starting With
people has a column name. Return a list of the names that start with the one-letter string letter, ignoring upper and lower case. Keep the names as written and in the order they appear.
Example 1
people {"name":["Ann","bob","anders"]}
letter "a"
returns ["Ann","anders"]
Ann and anders start with a.
Constraints
- Names are not empty
- The result may be an empty list
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.