i
Coditas Technologies
Filter interviews by
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Find the most frequent element in an array of strings.
Create an object to store the frequency of each element in the array.
Iterate through the array and update the frequency count in the object.
Find the element with the highest frequency in the object.
Return unique elements from an array of strings
Use Set to store unique elements
Convert array to Set and then back to array to get unique elements
Example: ['apple', 'banana', 'apple', 'orange'] should return ['apple', 'banana', 'orange']
Closures in JavaScript allow functions to access variables from an outer function even after the outer function has finished executing.
Closures are created when a function is defined within another function and the inner function references variables from the outer function.
Closures have access to the outer function's scope chain, allowing them to access variables even after the outer function has returned.
Closures are...
Top trending discussions
Angular application runs on the client-side in the user's browser.
Angular compiles the application code into JavaScript and HTML that can be executed by the browser.
The compiled code is then loaded into the browser and executed.
Angular uses a component-based architecture to manage the application's UI and logic.
The application's state is managed by services and observables.
Angular's change detection system updates the
Angular is a complete framework while React is a library for building UI components.
Angular is a complete framework with built-in features like routing, forms, and animations.
React is a library for building UI components and requires additional libraries for features like routing and forms.
Angular uses two-way data binding while React uses one-way data flow.
Angular has a steeper learning curve while React is easier to ...
Rest operator is used to merge multiple arguments into an array, while spread operator is used to spread an array into multiple arguments.
Rest operator is denoted by three dots (...)
Spread operator is also denoted by three dots, but it is used in a different context
Rest operator is used in function parameters to merge multiple arguments into an array
Spread operator is used to spread an array into multiple arguments
Rest...
Interview experience
Software Engineer
360
salaries
| ₹3.6 L/yr - ₹12 L/yr |
Associate Software Engineer
151
salaries
| ₹3.5 L/yr - ₹7.2 L/yr |
Software Developer
128
salaries
| ₹5 L/yr - ₹20.5 L/yr |
Senior Software Engineer
111
salaries
| ₹10.8 L/yr - ₹36 L/yr |
QA Engineer
64
salaries
| ₹2.5 L/yr - ₹11.1 L/yr |
TCS
Infosys
Wipro
HCLTech