Filter interviews by
A constructor is a special method in Java used to initialize objects when they are created.
Constructors have the same name as the class they belong to.
They do not have a return type, not even void.
Constructors can be overloaded, allowing multiple ways to initialize an object.
Example: public class Dog { Dog() { } Dog(String name) { this.name = name; } }
If no constructor is defined, Java provides a default construct...
You can sort a class object by implementing the Comparable interface and overriding the compareTo method.
Implement the Comparable interface in the class and override the compareTo method to compare objects based on roll number.
Use Collections.sort() method to sort the list of objects based on roll number.
Example: class Student implements Comparable<Student> { public int compareTo(Student s) { return this.rol...
Spring Boot annotations simplify configuration and enhance functionality in Java applications, promoting ease of development.
@SpringBootApplication: Combines @Configuration, @EnableAutoConfiguration, and @ComponentScan.
@RestController: Combines @Controller and @ResponseBody for RESTful web services.
@Autowired: Automatically injects dependencies, reducing boilerplate code.
@RequestMapping: Maps HTTP requests to spec...
PostgreSQL and Oracle SQL differ in terms of licensing, features, performance, and cost.
PostgreSQL is open-source while Oracle SQL is proprietary.
PostgreSQL is known for its extensibility and support for advanced features like JSON data types, while Oracle SQL is known for its robustness and scalability.
PostgreSQL is generally considered more cost-effective for small to medium-sized projects, while Oracle SQL is p...
React is a JavaScript library for building user interfaces. Closure in JavaScript is when a function has access to variables in its outer scope even after the function has finished executing.
React is a popular JavaScript library for building user interfaces.
It allows developers to create reusable UI components.
Closure in JavaScript is when a function retains access to variables from its outer scope even after the ...
Functional interfaces in Java are interfaces with a single abstract method, used for lambda expressions and method references.
Functional interfaces have only one abstract method, but can have multiple default or static methods.
Examples include java.lang.Runnable, java.util.Comparator, and java.util.function.Predicate.
Functional interfaces can be used with lambda expressions and method references for concise code.
Streams in Java are sequences of elements that support functional-style operations.
Streams are used to process collections of objects in a functional way.
They allow for concise and readable code by enabling operations like filter, map, reduce, etc.
Example: List<String> names = Arrays.asList("Alice", "Bob", "Charlie"); Stream<String> stream = names.stream();
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There was 1 interview round.
Functional interfaces in Java are interfaces with a single abstract method, used for lambda expressions and method references.
Functional interfaces have only one abstract method, but can have multiple default or static methods.
Examples include java.lang.Runnable, java.util.Comparator, and java.util.function.Predicate.
Functional interfaces can be used with lambda expressions and method references for concise code.
Streams in Java are sequences of elements that support functional-style operations.
Streams are used to process collections of objects in a functional way.
They allow for concise and readable code by enabling operations like filter, map, reduce, etc.
Example: List<String> names = Arrays.asList("Alice", "Bob", "Charlie"); Stream<String> stream = names.stream();
I applied via Recruitment Consulltant and was interviewed before Jan 2024. There were 2 interview rounds.
I am a passionate software developer with experience in developing web applications using various technologies.
Experienced in developing web applications using HTML, CSS, JavaScript, and frameworks like React and Angular
Proficient in backend development with Node.js and databases like MySQL and MongoDB
Familiar with version control systems like Git and project management tools like Jira
React is a JavaScript library for building user interfaces. Closure in JavaScript is when a function has access to variables in its outer scope even after the function has finished executing.
React is a popular JavaScript library for building user interfaces.
It allows developers to create reusable UI components.
Closure in JavaScript is when a function retains access to variables from its outer scope even after the funct...
Top trending discussions
I applied via Recruitment Consultant and was interviewed before May 2020. There were 3 interview rounds.
Clone a linked list with random pointers.
Create a new node for each node in the original list.
Store the mapping between the original and cloned nodes in a hash table.
Traverse the original list again and set the random pointers in the cloned list using the hash table.
Return the head of the cloned list.
My ambition is to grow as a professional, contribute meaningfully, and lead innovative projects that make a positive impact.
I aim to develop my skills in project management, ensuring successful delivery of initiatives.
I aspire to lead a team, fostering collaboration and creativity to achieve common goals.
I want to contribute to sustainable practices in my field, such as implementing eco-friendly solutions.
I envision my...
I applied via Walk-in and was interviewed before Jul 2020. There were 3 interview rounds.
I applied via Referral and was interviewed in Feb 2020. There were 6 interview rounds.
posted on 9 Dec 2024
The Two Sum problem involves finding two numbers in an array that add up to a given target value.
Iterate through the array and store the difference between the target and current element in a hashmap
Check if the current element exists in the hashmap, if yes return the indices
Time complexity can be reduced to O(n) using a hashmap
Identify overlapping time slots from a list of scheduled appointments.
Sort the time slots by start time.
Iterate through the sorted list and compare each slot with the next one.
If the start time of the next slot is less than the end time of the current slot, they conflict.
Example: Slots [(1, 3), (2, 4)] conflict because 2 < 3.
System implementation process involves planning, designing, testing, and deploying new software or hardware systems.
Planning phase involves defining project scope, setting goals, and creating a timeline.
Design phase includes creating system architecture, database design, and user interface.
Testing phase involves conducting various tests to ensure system functionality and performance.
Deployment phase includes installing...
Monitoring performance involves setting clear expectations, providing feedback, tracking progress, and addressing any issues that arise.
Set clear performance expectations for team members
Provide regular feedback on performance
Track progress towards goals and objectives
Address any performance issues promptly and constructively
based on 3 interview experiences
Difficulty level
Duration
based on 8 reviews
Rating in categories
8-10 Yrs
Not Disclosed
4-6 Yrs
Not Disclosed
3-5 Yrs
Not Disclosed
Software Developer
22
salaries
| ₹12 L/yr - ₹18 L/yr |
Senior Software Engineer
19
salaries
| ₹10 L/yr - ₹26 L/yr |
Software Engineer
15
salaries
| ₹10 L/yr - ₹19.5 L/yr |
Marketing Manager
10
salaries
| ₹14 L/yr - ₹16.1 L/yr |
Principal Engineer
10
salaries
| ₹27 L/yr - ₹30 L/yr |
Amazon Sellers Services
Primus Global Technologies
GAMMON INDIA
Magneti Marelli Motherson Auto System