1. Describe how you would prepare Amazon Cart APIs in Java, creating REST APIs with proper code.
2. Given a string, reverse the order of words. (Java program)
3. Explain the memory management introduced in Java 1.8.
4. 1 SQL problem Implement SCD using pyspark.