the first question is named as Tweet.java, the second quesion is named as sortedarray.java