InterviewSolution
Saved Bookmarks
| 1. |
How Does A "grep" Function Perform? |
|
Answer» GREP returns the NUMBER of lines the expression is true. Grep returns a sub list of a list for which a specific criterion is true. This function often INVOLVES pattern matching. It modifies the ELEMENTS in the ORIGINAL list. Grep returns the number of lines the expression is true. Grep returns a sub list of a list for which a specific criterion is true. This function often involves pattern matching. It modifies the elements in the original list. |
|