Filter interviews by
I applied via LinkedIn and was interviewed in Mar 2021. There were 5 interview rounds.
Yes, we can pass values during object creation using constructors.
Constructors are special methods that are called when an object is created.
They can take parameters to initialize the object's state.
Values passed during object creation are used to initialize instance variables.
Example: public class Person { String name; int age; public Person(String name, int age) { this.name = name; this.age = age; } }
Example usage: P
Array is a fixed-size data structure while Array list is a dynamic data structure.
Array has a fixed size while Array list can grow dynamically.
Array can store only homogeneous data types while Array list can store heterogeneous data types.
Array is faster than Array list in terms of accessing elements.
Array list provides more functionality like add, remove, and search.
Example of Array: int[] arr = new int[5]; Example of
OOP concepts in Java with real time examples
Encapsulation - hiding implementation details of a class. Example: private variables in a class
Inheritance - creating a new class from an existing class. Example: subclass extending a superclass
Polymorphism - ability of an object to take many forms. Example: method overloading and overriding
Abstraction - showing only necessary details to the user. Example: abstract classes an
Exceptions are errors that occur during program execution. There are two types: checked and unchecked.
Exceptions are objects that represent errors or exceptional conditions that occur during program execution.
Checked exceptions are checked at compile time and must be handled or declared in the method signature.
Unchecked exceptions are not checked at compile time and can be handled or left to propagate up the call stack...
Top trending discussions
There were three coding questions.
posted on 6 Jan 2025
I applied via Campus Placement
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
Create an API to fetch id and JSON from the client.
Create a RESTful API endpoint that accepts requests from the client
Use a GET request to fetch the id and JSON data from the client
Implement error handling for invalid requests or missing data
Use Java 8 stream to find the forth highest salary from a List.
Use stream() method to convert the List to a stream.
Use distinct() method to remove duplicates.
Use sorted() method to sort the salaries in ascending order.
Use skip() method to skip the first three highest salaries.
Use findFirst() method to get the forth highest salary.
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
I was interviewed in Oct 2024.
Question Related to the DP and the Graph
Find the Kth maximum element in an array of strings.
Sort the array in descending order.
Return the element at index K-1.
Coin change problem can be solved using dynamic programming to find the minimum number of coins needed to make a certain amount of change.
Use dynamic programming to build up solutions for smaller subproblems
Start by initializing an array to store the minimum number of coins needed for each amount from 0 to the target amount
Iterate through each coin denomination and update the array with the minimum number of coins need
Two sum problem DSA fromleetcode
Libuv is a multi-platform support library with a focus on asynchronous I/O.
Provides event loop, networking, and file system access APIs
Supports asynchronous operations for handling I/O events efficiently
Used in Node.js for handling non-blocking I/O operations
Async programming in JS allows for non-blocking operations, improving performance and user experience.
Use async/await to write asynchronous code in a synchronous manner
Promises are a common way to handle asynchronous operations
Callbacks can also be used for async programming, but can lead to callback hell
Utilize setTimeout and setInterval for delayed and repeated tasks
MCQ test consisting of 70 mcqs in 75 minutes from aptitude english and cs fundamentals. If cleared next paper 2 coding qs medium level
I faced challenges with integrating third-party APIs and debugging complex logic.
Difficulty in understanding and implementing third-party APIs
Issues with data synchronization between different systems
Troubleshooting complex logic errors
Managing dependencies and version conflicts
Time constraints affecting problem-solving
Software Developer
10
salaries
| ₹1.1 L/yr - ₹4 L/yr |
Software Engineer
4
salaries
| ₹3 L/yr - ₹10 L/yr |
Senior Software Developer
4
salaries
| ₹11 L/yr - ₹14 L/yr |
Senior Software Engineer
4
salaries
| ₹7 L/yr - ₹22 L/yr |
Quality Analyst
3
salaries
| ₹3.7 L/yr - ₹3.7 L/yr |
Bajaj Finserv
Wells Fargo
JPMorgan Chase & Co.
HSBC Group