i
Persistent Systems
Filter interviews by
I applied via Walk-in and was interviewed in Nov 2024. There were 3 interview rounds.
It's walkin, so they conducted 1 technical mcqs round.
HashMap in Java is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values based on keys.
HashMap uses an array of buckets to store key-value pairs.
Keys are hashed to determine the index in the array where the key-value pair will be stored.
In case of hash collisions, a linked list or a balanced tree is used to store multiple key-value pairs in the same bucket.
HashMap allows null keys...
Function to find and return all non-repeating characters in an array of strings.
Iterate through the array and count the occurrences of each character using a HashMap.
Then iterate through the array again and check if the count of each character is 1, if so add it to the result list.
Return the list of non-repeating characters.
To find the 3rd highest salary in a database, we can use a SQL query with the 'LIMIT' and 'OFFSET' keywords.
Use a SQL query with 'ORDER BY salary DESC' to sort the salaries in descending order.
Use 'LIMIT 1 OFFSET 2' to skip the first two highest salaries and retrieve the third highest salary.
Example: SELECT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 2;
A qualifier in Java is used to specify additional information about a primary, which is the main data type or variable.
A primary in Java is the main data type or variable, while a qualifier provides additional information about the primary.
Qualifiers can be used to modify the behavior or characteristics of a primary.
For example, in Java, 'final' is a qualifier that can be used to make a variable constant.
The main difference is that @RestController is a specialized version of @Controller that is used for RESTful web services.
Both @Controller and @RestController are used in Spring MVC to handle HTTP requests, but @RestController is specifically used for RESTful web services.
@Controller is used to create web pages, while @RestController is used to return data in JSON or XML format.
@RestController is a convenience annotati...
OOP concepts include inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class. Example: class Dog extends Animal.
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: private variables with public getter and setter methods.
Polymorphism: Ability for objects to be treated as instances of their paren...
Microservices communicate with each other through various communication protocols like HTTP, messaging queues, and gRPC.
Microservices can communicate over HTTP using RESTful APIs.
Messaging queues like RabbitMQ or Kafka can be used for asynchronous communication between microservices.
gRPC is a high-performance, open-source RPC framework that can be used for communication between microservices.
Service discovery mechanism...
Microservice endpoints can be accessed using HTTP requests with the appropriate URL
Use HTTP methods like GET, POST, PUT, DELETE to interact with the microservice
Construct the URL with the base URL of the microservice and the specific endpoint path
Include any necessary headers or parameters in the request for authentication or data filtering
Microservices allow for modular, scalable, and flexible software development by breaking down applications into smaller, independent services.
Microservices enable easier maintenance and updates as each service can be developed, deployed, and scaled independently.
They improve fault isolation, as failures in one service do not necessarily affect the entire application.
Microservices promote agility and faster time-to-mark...
I applied via Naukri.com and was interviewed in Jun 2024. There were 2 interview rounds.
Java program to count consecutive characters in a string
Iterate through the input string and compare each character with the next one
Use a StringBuilder to build the output string with character and count
Handle edge cases like empty string or single character input
Use streams api to find 3rd highest number from a list.
Convert the list to a stream using list.stream()
Sort the stream in descending order using sorted(Comparator.reverseOrder())
Skip the first two elements using skip(2) and get the third element using findFirst().get()
A Rest api to get employee details by employee id
Create a GET endpoint with a path like '/employees/{employeeId}'
Retrieve employee details from a database using the employee id
Return the employee details in JSON format
I applied via Referral and was interviewed in Dec 2023. There was 1 interview round.
Custom exception is a user-defined exception that extends the functionality of the built-in exceptions in Java.
Custom exceptions are created by extending the Exception class or one of its subclasses.
They allow developers to define their own exception types for specific scenarios.
Custom exceptions can include additional methods and fields to provide more information about the exception.
Example: public class CustomExcept...
Use a HashSet to find duplicate elements in an array of strings.
Create a HashSet to store unique elements.
Iterate through the array and check if the element is already in the HashSet.
If it is, then it is a duplicate element.
Example: String[] array = {"apple", "banana", "apple", "orange"};
I applied via LinkedIn and was interviewed in Apr 2024. There was 1 interview round.
Functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids changing state and mutable data.
Focuses on pure functions that do not have side effects
Emphasizes immutability and avoids changing state
Supports higher-order functions and function composition
Examples include languages like Haskell, Scala, and Clojure
Persistent Systems interview questions for designations
Get interview-ready with Top Persistent Systems Interview Questions
I applied via Approached by Company and was interviewed in Dec 2023. There was 1 interview round.
Polymorphism is the ability of an object to take on many forms. Inheritance is the process of creating new classes from existing ones.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism and inheritance are key concepts in object-oriented programming (OOP).
Example of polymorphism: A s...
I applied via Company Website and was interviewed before Mar 2023. There was 1 interview round.
Java is a high-level programming language known for its portability, security, and object-oriented features.
Java is platform-independent, meaning it can run on any device with a Java Virtual Machine (JVM).
It is object-oriented, allowing for modular and reusable code.
Java is known for its security features like sandboxing and encryption.
Popular Java frameworks include Spring, Hibernate, and JavaFX.
I applied via Naukri.com and was interviewed before May 2023. There was 1 interview round.
Spring Boot is designed to be a standalone application, so it can run without a separate server.
Spring Boot includes an embedded server (like Tomcat or Jetty) so it can run independently.
The embedded server is included in the application's JAR file, making it self-contained.
This allows Spring Boot applications to be easily deployed and run without the need for a separate server installation.
What people are saying about Persistent Systems
1 Interview rounds
based on 11 reviews
Rating in categories
Software Engineer
4.3k
salaries
| ₹2.5 L/yr - ₹9.5 L/yr |
Senior Software Engineer
3.7k
salaries
| ₹5 L/yr - ₹13 L/yr |
Lead Engineer
3k
salaries
| ₹7.2 L/yr - ₹30 L/yr |
Lead Software Engineer
3k
salaries
| ₹7.2 L/yr - ₹18.5 L/yr |
Project Lead
1.8k
salaries
| ₹13 L/yr - ₹38.8 L/yr |
Cognizant
TCS
IBM
Wipro