Filter interviews by
I applied via LinkedIn and was interviewed before May 2022. There were 3 interview rounds.
Logic based questions
Tough and easy at the same time
Top trending discussions
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
General aptitude and out put realted questions
Face to face dsa and string manipulations
posted on 18 Oct 2024
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Java program to convert first letter of each word to upper case
Split the input string into an array of words
Iterate through each word and capitalize the first letter
Join the words back together into a single string
Java program to remove duplicate characters from a string
Create a HashSet to store unique characters
Iterate through the string and add each character to the HashSet
Construct a new string by appending characters from the HashSet
posted on 16 Jan 2025
Write a code for Singleton pattern?
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
Frequency array, java collection, missing number
posted on 17 Jul 2024
I applied via Company Website and was interviewed before Jul 2023. There were 4 interview rounds.
Space and time complexities were asked for program
I applied via Approached by Company
Aptitude and coding round, one coding question and others are computer fundamentals
I applied via Referral and was interviewed in Feb 2022. There was 1 interview round.
Sort a given array of strings
Use built-in sorting functions in programming languages
Implement sorting algorithms like bubble sort, merge sort, etc.
Consider case sensitivity and special characters
The maximum number of repeating characters in a string needs to be determined.
Iterate through each character in the string and keep track of the count of consecutive repeating characters.
Update the maximum count whenever a new maximum is found.
Return the maximum count at the end of the iteration.
Explaining type script and java script arrow function loops with if else condition.
TypeScript and JavaScript both support arrow functions for concise syntax.
Arrow functions can be used in loops to simplify code.
If-else conditions can be used with arrow functions to add logic.
Example: const numbers = [1, 2, 3]; numbers.forEach(num => {if(num % 2 === 0) {console.log(num + ' is even');} else {console.log(num + ' is odd');
Selenium is widely used for web automation while Cypress is a newer tool with better performance and debugging capabilities.
Selenium supports multiple programming languages while Cypress only supports JavaScript.
Cypress has a built-in test runner and debugger while Selenium requires third-party tools.
Selenium is better for cross-browser testing while Cypress is better for end-to-end testing.
Choose Selenium for larger a...
Comparator and Comparable are interfaces used for sorting objects in Java.
Comparator interface is used to sort objects based on custom criteria.
Comparable interface is used to sort objects based on their natural order.
Comparator interface has two methods: compare() and equals().
Comparable interface has one method: compareTo().
React Context is a feature in React that allows data to be passed down the component tree without having to pass props manually.
Context provides a way to share values like themes, user data, etc. across the component tree.
It avoids prop drilling, where props are passed down multiple levels to reach a component that needs them.
Context consists of two parts: a Provider component that provides the data and a Consumer comp...
Closure is a function that has access to its parent scope, even after the parent function has closed.
Closure is created when a function is defined inside another function.
The inner function has access to the outer function's variables and parameters.
The outer function returns the inner function, which can be called later with the parent scope still accessible.
Closures are used for data privacy, event handlers, and call
Algorithm to convert roman numeral to numbers
Create a dictionary to map roman numerals to their corresponding values
Iterate through the roman numeral string from right to left
If the current value is less than the previous value, subtract it from the total
If the current value is greater than or equal to the previous value, add it to the total
Return the total
React context is a way to pass data through the component tree without having to pass props down manually at every level.
Context provides a way to share values like a theme or user data across the component tree.
It avoids prop drilling and makes the code cleaner and more maintainable.
Context consists of two parts: a Provider component that provides the data and a Consumer component that consumes the data.
Context can be...
There is no abstract class in JavaScript.
JavaScript does not have a built-in abstract class concept.
However, it is possible to create abstract classes using functions and prototypes.
Abstract classes are used as blueprints for other classes to inherit from.
They cannot be instantiated on their own and must be extended by a subclass.
Abstract methods can be defined in the abstract class and must be implemented in the subcl
Function overloading is when multiple functions have the same name but different parameters. Function overriding is when a subclass provides its own implementation of a method that is already present in the parent class.
Function overloading is used to provide multiple ways to call a function with different parameters.
Function overriding is used to provide a specific implementation of a method in a subclass.
Function ove...
Implement a counter in a React app
Create a state variable to hold the count
Render the count in the UI
Add buttons to increment and decrement the count
Update the state variable on button click
Interview experience
Software Engineer
162
salaries
| ₹20.6 L/yr - ₹80 L/yr |
Senior Software Engineer
103
salaries
| ₹21.7 L/yr - ₹85 L/yr |
Software Developer
100
salaries
| ₹21 L/yr - ₹89.5 L/yr |
Sde1
55
salaries
| ₹26 L/yr - ₹86 L/yr |
Software Development Engineer II
37
salaries
| ₹27.2 L/yr - ₹93 L/yr |
Salesforce
Amazon
Freshworks