Invalid Tweets
tweets has columns id and content (text). A tweet is invalid if its content is longer than 15 characters. Return the ids of invalid tweets as a list, in the order they appear.
Example 1
tweets {"id":[1,2],"content":["hello world","this tweet is far too long"]}
returns [2]
The second one has 26 characters.
Constraints
- 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.