Filter interviews by
JS is a scripting language that allows for dynamic content on websites.
JS is a client-side scripting language used to create interactive web pages.
It can manipulate HTML and CSS to dynamically update content without reloading the page.
JS can handle events like button clicks, form submissions, and mouse movements.
It can also make asynchronous requests to fetch data from servers using AJAX.
JS code is executed by the...
Use the sort() method in JavaScript to sort an array of strings.
Use the sort() method with a compare function to sort the array alphabetically.
For example, array.sort((a, b) => a.localeCompare(b)); will sort the array in ascending order.
To sort the array in descending order, you can use array.sort((a, b) => b.localeCompare(a));
There are two types of JS modules: CommonJS and ES6 modules.
CommonJS modules use 'require' and 'module.exports' to import and export modules.
ES6 modules use 'import' and 'export' statements to import and export modules.
ES6 modules are statically analyzable, while CommonJS modules are dynamically loaded at runtime.
Event loop in JS manages asynchronous operations by executing callback functions in a queue.
Event loop is responsible for handling asynchronous operations in JavaScript.
It allows non-blocking I/O operations by executing callback functions in a queue.
Event loop continuously checks the call stack and the callback queue to prioritize tasks.
Use the reverse() method to reverse an array in JavaScript.
Use the reverse() method on the array to reverse its elements in place.
Example: const arr = ['apple', 'banana', 'cherry']; arr.reverse(); // ['cherry', 'banana', 'apple']
Event bubbling is the process where an event triggered on a child element is propagated up to its parent elements.
Events triggered on child elements will also trigger the same event on parent elements
Event bubbling allows for delegation of event handling to a parent element
Can be controlled using event.stopPropagation() method
2 DSA questions 1- in the frist question you have to print the length of maximum increasing sub array 2-in was related to stack, the question was to multiply string inside paranthesis for example if the input is "3(ab)" the output will be "ababab"
I applied via Campus Placement and was interviewed before Nov 2023. There were 3 interview rounds.
Event loop in JS manages asynchronous operations by executing callback functions in a queue.
Event loop is responsible for handling asynchronous operations in JavaScript.
It allows non-blocking I/O operations by executing callback functions in a queue.
Event loop continuously checks the call stack and the callback queue to prioritize tasks.
There are two types of JS modules: CommonJS and ES6 modules.
CommonJS modules use 'require' and 'module.exports' to import and export modules.
ES6 modules use 'import' and 'export' statements to import and export modules.
ES6 modules are statically analyzable, while CommonJS modules are dynamically loaded at runtime.
Use the sort() method in JavaScript to sort an array of strings.
Use the sort() method with a compare function to sort the array alphabetically.
For example, array.sort((a, b) => a.localeCompare(b)); will sort the array in ascending order.
To sort the array in descending order, you can use array.sort((a, b) => b.localeCompare(a));
Event bubbling is the process where an event triggered on a child element is propagated up to its parent elements.
Events triggered on child elements will also trigger the same event on parent elements
Event bubbling allows for delegation of event handling to a parent element
Can be controlled using event.stopPropagation() method
JS is a scripting language that allows for dynamic content on websites.
JS is a client-side scripting language used to create interactive web pages.
It can manipulate HTML and CSS to dynamically update content without reloading the page.
JS can handle events like button clicks, form submissions, and mouse movements.
It can also make asynchronous requests to fetch data from servers using AJAX.
JS code is executed by the brow...
Use the reverse() method to reverse an array in JavaScript.
Use the reverse() method on the array to reverse its elements in place.
Example: const arr = ['apple', 'banana', 'cherry']; arr.reverse(); // ['cherry', 'banana', 'apple']
Top trending discussions
I applied via Recruitment Consultant and was interviewed before Oct 2020. There was 1 interview round.
I applied via Recruitment Consultant and was interviewed in May 2020. There were 3 interview rounds.
An interface defines a contract for classes, specifying methods without implementation, promoting abstraction and flexibility in OOP.
Interfaces allow multiple classes to implement the same set of methods, ensuring a consistent API.
Example: An interface 'Animal' with methods 'eat()' and 'sleep()' can be implemented by 'Dog' and 'Cat' classes.
They enable polymorphism, allowing objects to be treated as instances of their ...
I applied via Naukri.com and was interviewed in Jul 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before May 2021. There were 4 interview rounds.
VERBAL QUANT DI/LR and Picture based test
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Easy
This round was held during university hours and consisted of 2 coding questions.
Round duration - 120 minutes
Round difficulty - Easy
Make sure you do no cutting and are clear about the approach you'd be following.
Running median of an input stream is the median value of the numbers seen so far in a continuous stream of data.
Maintain two heaps - a max heap for the lower half of the numbers and a min heap for the upper half.
Keep the number of elements in the two heaps balanced or differ by at most 1.
If the total number of elements is odd, the median is the root of the max heap. If even, it is the average of the roots of the two he...
Prepare for company-wise interview questions according to the company in which you are applying. Try to write the code yourself and if got stuck in between then take help from the internet. I recommend you Codezen of Coding Ninjas for practicing Data Structures and Algorithms based questions.
Application resume tips for other job seekersBe sure 100% of what you write in your resume and prepare for that before the interview what is written on resume.
Final outcome of the interviewSelectedbased on 2 interview experiences
Difficulty level
Duration
Software Developer
4
salaries
| ₹6.8 L/yr - ₹18 L/yr |
Technical Lead
4
salaries
| ₹26.6 L/yr - ₹47 L/yr |
Software Quality Analyst
3
salaries
| ₹4.3 L/yr - ₹6.1 L/yr |
Senior HR Executive
3
salaries
| ₹6.1 L/yr - ₹8.5 L/yr |
TCS
Accenture
Wipro
Cognizant