![]() |
.. (לתיקייה המכילה) | |
Project X does not separate the API from the implementation, can we still use it?
|
Yes. The reason you were given the entirety of the code, instead of just the API, is to allow you to use such APIs. Ideally, you should a project that does provide a good separation between its API and its query implementation. |
Which tweets should we count in numberTweetsByUser?
| Both tweets and retweets should be counted. |
If we have the same YouTube url twice in a tweet's content, like:
"Software design is fun! #technion #tdd #yolo http://www.youtube.com/a http://www.youtube.com/a"
in case of numberOfYoutubeShares("http://www.youtube.com/a"),
should we return 1 or 2?
| 1. |
Tweet A contains hashtag #dor in its content
Tweet B is a retweet of A, and has no content
What is the number of appearances for hashtag #dor - 1 or 2?
| 1. |
getFirstTweet()
Do we need to return the id of the first tweet or can it be a retweet?
| It can be a retweet. |

