Filter interviews by
Basic DSA question arise in interview
I applied via Company Website and was interviewed in Apr 2024. There was 1 interview round.
Design patterns are reusable solutions to common problems in software design.
Design patterns help in creating maintainable, scalable, and efficient code.
Some common design patterns include Singleton, Factory, Observer, and Strategy.
Design patterns can be categorized into three main groups: creational, structural, and behavioral.
Functional overloading involves multiple functions with the same name but different parameters, while function overriding involves a subclass providing a specific implementation for a method in its superclass.
Functional overloading allows multiple functions with the same name but different parameters.
Function overriding occurs in inheritance when a subclass provides a specific implementation for a method in its supercl...
Hoisting in JavaScript is a behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable declarations are hoisted to the top of their scope, but not their initializations.
Function declarations are fully hoisted, including their definitions.
Hoisting can lead to unexpected behavior if not understood properly.
Memoization is a technique used in computer science to store the results of expensive function calls and return the cached result when the same inputs occur again.
Memoization helps in improving the performance of a program by reducing redundant calculations.
It is commonly used in dynamic programming to optimize recursive algorithms.
Example: Fibonacci sequence calculation can be optimized using memoization to store prev
A promise is an object representing the eventual completion or failure of an asynchronous operation. A closure is a function defined within another function that has access to its parent function's scope.
Promise is used to handle asynchronous operations in JavaScript.
Promises can be in one of three states: pending, fulfilled, or rejected.
Closures allow functions to access variables from their parent function even after...
== is used for equality comparison, while === is used for strict equality comparison.
== checks for equality of values, while === checks for equality of values and data types.
== can perform type coercion, while === does not.
== is less strict than ===.
Example: 1 == '1' returns true, but 1 === '1' returns false.
30 minutes tech round on Java
Java properties include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Allows bundling of data and methods that operate on the data within a single unit.
Inheritance: Enables a class to inherit properties and behavior from another class.
Polymorphism: Allows objects to be treated as instances of their parent class.
Abstraction: Hides the implementation details and only shows the necessary feature
Method overloading is the ability to define multiple methods with the same name but different parameters in a class.
Allows multiple methods with the same name but different parameters
Parameters can be different in number, type, or order
Helps improve code readability and maintainability
Example: void print(int num) and void print(String text) in a class
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
Spring Boot is preferred over Spring for easier setup and configuration. Beans scope defines object lifecycle. Spring annotations simplify configuration. ReactJS for efficient data fetching.
Spring Boot is preferred for its convention over configuration approach, making setup and configuration easier.
Beans scope in Spring defines the lifecycle of objects, such as singleton, prototype, request, session, etc.
Spring annota...
I applied via Monster and was interviewed in Dec 2022. There were 3 interview rounds.
There were multiple choice question from react, javascript and node js
Flow of Redux and code for promises
Redux flow involves dispatching actions, reducers updating state, and components subscribing to state changes
Promises are used for asynchronous operations and have a resolve and reject function
Example code for promises: new Promise((resolve, reject) => { // code here })
I applied via Recruitment Consulltant and was interviewed in Sep 2022. There were 5 interview rounds.
Writting and implementation programs got by tech Mahindra by logical thinking
I was interviewed in Jul 2021.
Round duration - 60 Minutes
Round difficulty - Medium
This was technical + HR round. It was in the morning 11:00 am.
The task is to find all duplicate elements in an array of integers.
Iterate through the array and keep track of the count of each element using a hashmap.
Return all elements from the hashmap with count greater than 1 as the duplicate elements.
What are joins?
How is truncate different from delete.
What is bootsrap?
How to import css into html?
Joins are used to combine rows from two or more tables based on a related column between them.
Joins are used in SQL to retrieve data from multiple tables.
Common types of joins are inner join, left join, right join, and full outer join.
Joins are performed using the JOIN keyword and specifying the related columns.
Joins can be used to fetch data from multiple tables based on a common column.
Joins help in creating relation
Why you want to switch company?
How do you keep yourself motivated?
I want to switch companies to explore new challenges and opportunities for growth.
Seeking new challenges and opportunities for growth
Wanting to work with a different technology stack
Desire for a better work-life balance
Looking for a company culture that aligns with personal values
Seeking better compensation and benefits
Tip 1 : Do atleast 2 projects
Tip 2 : Complete competitive programming
Tip 3 : Practice more interview Questions particular to the company applying to
Tip 1 : Don't lie on resume
Tip 2 : Try to wrap resume in one page
TCS
Accenture
Wipro
Cognizant