Filter interviews by
I applied via Approached by Company and was interviewed before Dec 2022. There were 3 interview rounds.
Theory plus coding questions
Resolved project challenges through effective problem-solving techniques.
Identified the root cause of the challenges
Collaborated with team members to brainstorm solutions
Implemented appropriate strategies to overcome obstacles
Tested and validated the implemented solutions
Documented the resolution process for future reference
Core string concepts include immutability, string manipulation, and string comparison.
Strings in Java are immutable, meaning they cannot be changed once created.
String manipulation can be done using various methods like concatenation, substring, and replace.
String comparison can be done using equals() method for content comparison and == operator for reference comparison.
I applied via Naukri.com and was interviewed before Feb 2022. There were 4 interview rounds.
Reverse a given string using Java programming language.
Create a new empty string
Iterate through the original string from end to start
Append each character to the new string
Return the new string
OOPs concepts are the fundamental principles of Object-Oriented Programming.
Encapsulation - binding data and methods together
Inheritance - reusing code and creating a hierarchy of classes
Polymorphism - ability of objects to take on many forms
Abstraction - hiding implementation details and showing only necessary information
WAP to collect all even no in list using stream API
Use stream() method to convert list to stream
Use filter() method to filter even numbers
Use collect() method to collect filtered numbers into a list
Spring Boot has various annotations for different purposes.
SpringBootApplication - marks the main class of the application
RestController - marks a class as a RESTful controller
Autowired - marks a constructor, field, or setter method to be autowired by Spring
GetMapping/PostMapping/PutMapping/DeleteMapping - maps HTTP requests to methods
Component - marks a class as a Spring component
Service - marks a class as a service l...
Top trending discussions
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...
Developed a web application for tracking employee attendance and performance
Implemented user authentication and authorization using Spring Security
Utilized Hibernate for database interaction and data persistence
Designed and developed RESTful APIs for frontend integration
Used AngularJS for frontend development to create interactive user interfaces
I applied via Company Website and was interviewed in Nov 2024. There were 3 interview rounds.
A standard online test conducted through one of the testing platforms.
I applied via Company Website and was interviewed in Oct 2024. There were 3 interview rounds.
First round is quit easy
2 coding question based on dsa
SDLC stands for Software Development Life Cycle, which consists of different phases from planning to maintenance.
1. Planning phase involves defining project scope, requirements, and creating a project plan.
2. Analysis phase focuses on gathering and analyzing requirements to create a detailed system design.
3. Design phase involves creating a high-level design, detailed design, and architecture for the software.
4. Implem...
The 4 pillars of data structure are arrays, linked lists, stacks, and queues.
Arrays: Data structure that stores a collection of elements with a fixed size.
Linked Lists: Data structure where each element points to the next element in the sequence.
Stacks: Data structure that follows the Last In First Out (LIFO) principle.
Queues: Data structure that follows the First In First Out (FIFO) principle.
posted on 30 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructor, fields, and methods, while interface cannot have any of these.
A class can extend only one abstract class, but can implement multiple interfaces.
Abstract classes are used to define a common behavior among subclasses, while interfaces are used to define a contract for classes...
Handler methods in Java are methods that are responsible for handling incoming requests and generating responses.
Handler methods are typically defined in classes annotated with @Controller or @RestController.
These methods are mapped to specific URLs using @RequestMapping or other mapping annotations.
Handler methods can have parameters such as HttpServletRequest, HttpServletResponse, or model attributes.
The return value...
I applied via Campus Placement and was interviewed in Apr 2024. There were 2 interview rounds.
Aptitude questions and some questions from PostgreSQL.
HashMap, LinkedList, HashSet, and Heap are data structures commonly used in Java for storing and organizing data.
HashMap: key-value pairs, uses hashing to store and retrieve elements efficiently (e.g. HashMap
LinkedList: linear data structure, elements are stored in nodes with pointers to the next node (e.g. LinkedList
HashSet: collection of unique elements, uses hashing to ensure uniqueness (e.g. Hash...
Comparable is an interface used for natural ordering, while Comparator is used for custom ordering in Java.
Comparable interface is used to define the natural ordering of objects. It is implemented by the class whose objects are to be sorted.
Comparator interface is used to define custom ordering of objects. It is implemented by a separate class that compares objects based on specific criteria.
Example: Sorting a list of ...
List allows duplicate elements and maintains insertion order, while Set does not allow duplicates and does not maintain order.
List can contain duplicate elements, Set cannot
List maintains insertion order, Set does not guarantee order
List is implemented by classes like ArrayList, LinkedList, Set is implemented by classes like HashSet, TreeSet
Example: List
based on 3 reviews
Rating in categories
Senior Engineer
5.8k
salaries
| ₹5 L/yr - ₹17 L/yr |
Engineer
4.8k
salaries
| ₹3 L/yr - ₹8.2 L/yr |
Technical Lead
2.1k
salaries
| ₹8.5 L/yr - ₹30 L/yr |
Project Lead
1.6k
salaries
| ₹6 L/yr - ₹23 L/yr |
Senior Software Engineer
1.4k
salaries
| ₹4.8 L/yr - ₹18.2 L/yr |
TCS
Infosys
Wipro
Tech Mahindra