i
Insolutions Global
Filter interviews by
Top trending discussions
Write code for advance surrying in js
Implement custom hook for api call
posted on 25 Sep 2024
1. medium dp question on busrst ballon
2. graph quetion on flood fill
Design a file search feature for a software application.
Implement a search bar where users can input keywords or phrases to search for files.
Include filters for file type, date modified, and other relevant criteria.
Display search results in a user-friendly format with relevant file details.
Allow users to preview files before opening or downloading them.
Consider implementing search suggestions or autocomplete functional...
TrieNode common prefix
Graph dkistra algo find least time to fill
Basic puzzles of medium complexity level. No improvement required
DSA questions of easy level. Asked for memory optimisations.
Design a parking lot system at a low level
Divide system into components like parking spots, ticketing system, payment system
Implement data structures like queues for managing parking spots
Use algorithms like least recently used for spot allocation
Consider scalability and performance in design
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Collection framework is a unified architecture for representing and manipulating collections of objects in Java.
It provides interfaces (like List, Set, Map) and classes (like ArrayList, HashSet, HashMap) to store and manipulate groups of objects.
It allows for easy manipulation, sorting, searching, and iteration of collections.
Collections in the framework can store objects of any type, including user-defined classes.
Exa...
Spring Boot dependency injection is a design pattern where objects are passed their dependencies rather than creating them internally.
In Spring Boot, dependency injection is achieved through the use of @Autowired annotation.
It helps in achieving loose coupling between classes and promotes easier testing and maintenance.
Example: @Autowired private UserService userService; // Injecting UserService dependency
Rate limiter is used to control the rate of incoming requests to a server or API.
Prevents server overload by limiting the number of requests a client can make in a specific time period
Helps protect against DDoS attacks by limiting the rate of incoming requests
Ensures fair usage of resources by preventing one client from monopolizing server resources
Can be implemented using algorithms like token bucket or leaky bucket
Ex...
A thread is a lightweight sub-process that allows concurrent execution within a process. Threads can be created in multiple ways.
Threads can be created by extending the Thread class in Java.
Threads can be created by implementing the Runnable interface in Java.
Threads can be created using thread pools in Java.
Threads can be created using asynchronous functions in JavaScript.
thread.join() is used to wait for a thread to finish its execution before moving on to the next steps.
thread.join() blocks the current thread until the thread it is called on completes its execution.
It is commonly used in multi-threaded applications to ensure that all threads have finished before proceeding.
Without thread.join(), the main thread may continue executing while other threads are still running.
Example: thre...
Sync call blocks the execution until the response is received, while asynchronous call allows the program to continue executing without waiting for the response.
Sync call blocks the program execution until the response is received
Asynchronous call allows the program to continue executing without waiting for the response
Sync calls are easier to understand and debug, but can lead to performance issues if used excessively
...
Deploying service in production server involves building the application, configuring the server, and monitoring performance.
Build the application code into a deployable package (e.g. JAR file for Java applications)
Configure the production server with necessary dependencies and environment variables
Deploy the application package to the server using tools like Docker, Kubernetes, or manual deployment scripts
Monitor the ...
Jenkins is a continuous integration tool used for automating software development processes, while Kubernetes is a container orchestration platform for managing containerized applications.
Jenkins is used for automating the building, testing, and deployment of software projects.
Kubernetes helps in automating the deployment, scaling, and management of containerized applications.
Jenkins can be integrated with Kubernetes t...
Fail safe focuses on ensuring system stability and preventing catastrophic failures, while fail fast prioritizes quick detection and response to errors.
Fail safe is about designing systems to minimize the impact of failures and ensure stability.
Fail fast is about quickly detecting and responding to errors to prevent further issues.
Fail safe often involves redundancy and error checking mechanisms to prevent catastrophic...
posted on 31 Jul 2024
Lazy loading defers the initialization of an object until it is actually needed, while eager loading initializes the object immediately.
Lazy loading is commonly used in Singleton pattern to delay the creation of the instance until it is requested.
Eager loading initializes the Singleton instance at the time of class loading.
Lazy loading can help improve performance by only creating the instance when needed, while eager ...
Use Spring Boot configuration to connect master and slave instances of a DB
Configure multiple data sources in application.properties or application.yml file
Use @Primary annotation for the master data source and @Qualifier annotation for the slave data source
Define separate DataSource, JdbcTemplate, and EntityManager beans for each data source
Use @Transactional annotation with the appropriate data source to specify whic
Global exception handler in Spring Boot handles all exceptions thrown by the application.
Global exception handler can be implemented using @ControllerAdvice annotation in Spring Boot.
It allows centralized exception handling for all controllers in the application.
You can define methods annotated with @ExceptionHandler to handle specific exceptions.
Global exception handler can return custom error responses or redirect to
I applied via campus placement at Indian Institute of Technology (IIT), Guwahati and was interviewed in Nov 2023. There were 4 interview rounds.
Mcqs based on cs fundamentals and 2_3 coding questions
Merge two sorted linked lists into one.
Create a new linked list to store the merged list.
Compare the values of the nodes from both lists and add the smaller value to the new list.
Move the pointer of the list with the smaller value to the next node.
Repeat the comparison and addition until one of the lists is empty.
Add the remaining nodes from the non-empty list to the new list.
Return the new merged list.
I applied via LinkedIn and was interviewed in Jun 2024. There were 2 interview rounds.
Data Structures Algorithms
Data Structures and Algorithm
based on 1 review
Rating in categories
Software Engineer
390
salaries
| ₹1.8 L/yr - ₹8 L/yr |
Processing Officer
185
salaries
| ₹1.1 L/yr - ₹4.2 L/yr |
Software Developer
145
salaries
| ₹2 L/yr - ₹10.6 L/yr |
Junior Processing Officer
120
salaries
| ₹1.2 L/yr - ₹3.3 L/yr |
Senior Process Officer
94
salaries
| ₹2 L/yr - ₹4.7 L/yr |
TCS
Wipro
Infosys
HCLTech