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 appeared for an interview in Dec 2020.
Round duration - 40 minutes
Round difficulty - Easy
Given an integer array ARR
of size N
, your task is to find the total number of subsequences in which all elements are equal.
A subsequence of an array i...
Count the total number of subsequences in which all elements are equal in an integer array.
Iterate through the array and count the frequency of each element.
Calculate the total number of subsequences for each element using the formula (frequency * (frequency + 1) / 2).
Sum up the total number of subsequences for all elements and return the result modulo 10^9 + 7.
Tip 1 : Do practice as much as you can
Tip 2 : Coding is key to crack
Tip 1 : It should look nice
Tip 2 : Skills should be mentioned properly
I applied via Campus Placement and was interviewed in Oct 2021. There was 1 interview round.
Software configuration management is the process of tracking and controlling changes made to software throughout its lifecycle.
It involves version control, build management, and release management.
It ensures that changes are made in a controlled and systematic manner.
Examples include Git, SVN, and Jenkins.
It helps to maintain the integrity and quality of the software.
It is essential for collaboration among team members...
Software requirements are the functional and non-functional specifications that a software system must meet.
Software requirements define what the software should do and how it should behave
They include functional requirements (what the software should do) and non-functional requirements (how well it should do it)
Requirements are typically documented in a requirements specification document
They are used to guide the dev...
I appeared for an interview in Nov 2020.
Round duration - 2 hours
Round difficulty - Medium
In the 1st round
Aptitude
Reasoning
English
Automata fix( code debug)
Timing in morning
Environment is good
Interviewer was very cool and interactive
Given a text message, your task is to return the Run-length Encoding of the given message.
Run-length encoding is a fast and simple method of encoding strings, repres...
Implement a function to encode a text message using run-length encoding.
Iterate through the message and count consecutive characters
Append the character and its count to the encoded message
Handle edge cases like single characters or empty message
Round duration - 30 minutes
Round difficulty - Medium
This is interview round
Ques from basic electronics
C language
Create a class named Person
with a string variable 'name'
and an integer variable 'age'
, such that these variables are not accessible outside the class. Implement a me...
Create a class Person with private variables name and age, and methods to set and get their values.
Create a class Person with private variables 'name' and 'age'.
Implement a method setValue to set the variables' values.
Implement a method getValue to print the variables' values.
Ensure the name is a non-empty string and the age is a non-negative integer.
Encapsulate the data and provide a clear interface for setting and ge...
Tip 1 : Do aptitude from indiabix. Go through your basics. At least one language u know. Learn about your branch basics. Know concept of data structure and oops.
Tip 2 : prepare your final project well.
Tip 1 : the skills you know very well mention in resume
Tip 2 : mention project in resume
based on 2 interview experiences
Difficulty level
Duration
Software Developer
4
salaries
| ₹6.8 L/yr - ₹18 L/yr |
Technical Lead
4
salaries
| ₹32.4 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