Click4Ai

207.

Medium

This problem requires the implementation of a basic lemmatization algorithm. **Example:** Input: ['running', 'jumps', 'happiness'], Output: ['run', 'jump', 'happiness']. **Constraints:** The input list will contain only lowercase English letters and will not be empty.

Test Cases

Test Case 1
Input: ['running', 'jumps', 'happiness']
Expected: ['run', 'jump', 'happiness']
Test Case 2
Input: ['happy', 'happier', 'happiest']
Expected: ['happy', 'happier', 'happiest']
+ 3 hidden test cases