Filter interviews by
I applied via Naukri.com and was interviewed in Nov 2023. There was 1 interview round.
To setup a Node.js server, you need to install Node.js, create a server file, write code to create a server, and run the server.
Install Node.js on your machine
Create a server file (e.g. server.js)
Write code to create a server using the 'http' module
Run the server using the command 'node server.js'
Other methods of sorting include bubble sort, selection sort, and insertion sort.
Bubble sort: repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.
Selection sort: repeatedly finds the minimum element from the unsorted part of the array and swaps it with the first unsorted element.
Insertion sort: builds the final sorted array one item at a time by inserting each el
A promise is an object representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be created using the Promise constructor.
Promises have three states: pending, fulfilled, or rejected.
They can be chained using .then() and .catch() methods.
Example: const myPromise = new Promise((resolve, reject) => { ... });
Top trending discussions
I applied via Walk-in and was interviewed in Jan 2023. There were 4 interview rounds.
Aptitude test is important for upskill you knowledge
Coding must important for developer
Collection framework is a unified architecture for representing and manipulating collections of objects in Java.
It provides interfaces (such as List, Set, Queue) and classes (such as ArrayList, HashSet, PriorityQueue) to store and manipulate collections of objects.
It allows for easy insertion, deletion, and retrieval of elements from collections.
It provides algorithms for searching, sorting, and manipulating collection...
Encapsulation is the process of hiding internal implementation details and exposing only necessary information to the outside world.
Encapsulation helps in achieving data abstraction and data hiding.
It allows for better control over the data by preventing direct access to it.
Encapsulation promotes code reusability and maintainability.
In Node.js, encapsulation can be achieved using modules and closures.
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...
I was interviewed in Jun 2024.
Writing URLShortener or LoadBalancer in Java
It will be a basic maths questions.
As a general topic of trend in world.
To be known for programming knowledge about us.
20 MCQs + 2 Coding Question
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 interview
Interview experience
Territory Sales Manager
146
salaries
| ₹2.2 L/yr - ₹5.5 L/yr |
Software Engineer
101
salaries
| ₹4.3 L/yr - ₹15 L/yr |
Area Sales Manager
56
salaries
| ₹4 L/yr - ₹7 L/yr |
Assistant Manager
42
salaries
| ₹2.5 L/yr - ₹7 L/yr |
Software Developer
33
salaries
| ₹5.8 L/yr - ₹13 L/yr |
Paytm
PhonePe
Mobikwik
Payed