Filter interviews by
I applied via Naukri.com
Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their scope.
Variables declared with var are hoisted to the top of their scope
Function declarations are hoisted before variables
Function expressions are not hoisted
Let and const declarations are not hoisted
Promises are a way to handle asynchronous operations in JavaScript.
Promises represent a value that may not be available yet.
They have three states: pending, fulfilled, and rejected.
Promises can be chained using .then() and .catch() methods.
They help avoid callback hell and make code more readable.
Example: new Promise((resolve, reject) => { ... }).then(result => { ... }).catch(error => { ... })
ES6 features are modern JavaScript syntax and features that make code more concise and readable.
Arrow functions for concise function syntax
Template literals for easier string interpolation
Let and const for block-scoped variables
Destructuring for easily extracting values from objects and arrays
Spread and rest operators for easily manipulating arrays and objects
Classes for object-oriented programming
Modules for better co
Given an array of integers, return the sum of all even numbers.
Use Array.reduce() method to iterate over the array and sum the even numbers.
Use the modulo operator (%) to check if a number is even.
I applied via Naukri.com and was interviewed in Nov 2021. There was 1 interview round.
Dsa question were asked
Question related to profit loss
Write progame for palindrome
I applied via Company Website and was interviewed in Nov 2023. There were 2 interview rounds.
useState is a hook in React that allows functional components to have state.
useState is a built-in hook in React.
It allows functional components to have state.
It returns an array with two elements: the current state value and a function to update the state.
The initial state can be passed as an argument to useState.
The state can be of any data type, such as a string, number, boolean, or object.
Example: const [count, set
Closure is a feature in JavaScript that allows a function to access variables from its outer scope even after the function has finished executing.
Closure is created when a function is defined inside another function.
The inner function has access to the variables and parameters of the outer function.
The inner function forms a closure with the outer function, preserving the state of the outer function's variables.
Closure...
Props are read-only properties that are passed from a parent component to a child component in React.
Props allow data to be passed between components in a unidirectional flow.
Props are immutable and cannot be modified by the child component.
Props can be used to customize the behavior or appearance of a component.
Props are accessed using the 'this.props' syntax in class components or as function arguments in functional
React and Javascript
Coding test with technical discussion
I applied via LinkedIn and was interviewed in Jun 2022. There was 1 interview round.
posted on 8 Mar 2021
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...
I applied via LinkedIn and was interviewed in Oct 2024. There was 1 interview round.
API design implementation involves creating a well-structured and user-friendly interface for interacting with software applications.
Understand the requirements and use cases for the API
Design clear and consistent endpoints with proper documentation
Implement secure authentication and authorization mechanisms
Follow RESTful principles for creating APIs
Consider scalability and performance optimizations
based on 1 review
Rating in categories
Software Engineer
3.2k
salaries
| ₹3.2 L/yr - ₹12.4 L/yr |
Senior Software Engineer
2k
salaries
| ₹5.9 L/yr - ₹19.1 L/yr |
QA Engineer
1.1k
salaries
| ₹2.4 L/yr - ₹11 L/yr |
Senior QA Engineer
797
salaries
| ₹6 L/yr - ₹14.2 L/yr |
System Analyst
739
salaries
| ₹10 L/yr - ₹25 L/yr |
TCS
Infosys
Wipro
Tech Mahindra