NucleusTeq
Polariz Interview Questions and Answers
Q1. Prepare Amazon Cart APIs in java, create Rest API s with proper code.
Create Amazon Cart APIs in Java for Rest API
Use Spring Boot framework for creating Rest APIs
Implement CRUD operations for managing cart items
Secure APIs using authentication and authorization mechanisms
Handle error responses and exceptions gracefully
Test APIs using tools like Postman or JUnit
Q2. Memory management introduced in java 1.8. Explain about that.
Java 1.8 introduced improvements in memory management with features like Metaspace and G1 garbage collector.
Metaspace replaces the permanent generation (PermGen) for class metadata storage.
G1 garbage collector is designed for better performance and predictability by dividing the heap into regions.
These improvements help in reducing memory leaks and optimizing garbage collection.
Example: Use of Metaspace allows for dynamic memory allocation for class metadata, avoiding PermGen...read more
Q3. Prepare your project till the deepest level.
I will provide a detailed overview of my project, including its objectives, features, technologies used, and the overall architecture.
Outline the project objectives and goals
Describe the features and functionalities of the project
Explain the technologies and tools used in the project
Discuss the overall architecture and design of the project
Q4. Reverse words given in a string (java programme).
Reverse words in a string using Java program.
Split the string into an array of words using split() method
Iterate through the array in reverse order and append each word to a new string
Return the reversed string
Q5. duplicate in an array and simple sorting based
Find duplicates in an array of strings and sort them.
Iterate through the array and use a HashMap to keep track of duplicate strings.
After finding duplicates, sort the array using a sorting algorithm like quicksort or mergesort.
Return the sorted array with duplicates removed.
Q6. 1 SQL problem Implement SCD using pyspark.
Implement Slowly Changing Dimension (SCD) using pyspark
Use pyspark to read the source and target tables
Identify the changes in the source data compared to the target data
Update the existing records in the target table with the new values
Insert new records for the new data in the source table
Handle historical data by maintaining effective start and end dates
Interview Process at Polariz
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month