Oracle IC4 | Software Developer 3| Screening Round
Company: Oracle
Role: IC4 / Software Developer 3
Interview Stage: Screening Round
Location: unknown
Year: unknown
Original Post Content:
1. HackerRank Question: You are given an array of movie ratings which can be negative as well. You need the maximum sum of ratings out of a subsequence such that you can only skip one adjacent rating in the subsequence. (Hope I am able to explain the question)
2. What is the difference between Collections and Streams?
3. Which is best: Looping over a collection or using a stream?
4. Given a list of numbers in an ArrayList -> -1, -2, -3, -4, -5. Using stream, return whether that array is sorted or not.
5. Given a list of numbers in an ArrayList -> -1, -2, -3, -4, -5. Return sqrt of odd elements then return sum of these sqrt. All in a single stream.