in JAVA
Google has tasked you with establishing a new database to consolidate data from their many users. This data is coming in on a steady stream, and must constantly remain sorted. Luckily for you, the data has all been compressed into integers for easier processing. a. What data structure would be best used in this scenario? b. What sorting method will help you keep this data sorted as the petabytes come in?