Filter interviews by
I applied via Approached by Company and was interviewed before May 2023. There was 1 interview round.
Promise is an object representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
A Promise can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() method to handle success and failure.
Example: new Promise((resolve, reject) => { ... }).then(result => { ... }).catch(error => { ... });
Callback is a function passed as an argument to another function to be executed later. Async await is a syntax for writing asynchronous code in a synchronous manner.
Callback is used in event handling, asynchronous programming, and more.
Async await is a modern way to write asynchronous code in a synchronous style.
Example: Callback - setTimeout function in JavaScript.
Example: Async await - fetching data from an API in Ja
Hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable and function declarations are hoisted to the top of their scope.
Only declarations are hoisted, not initializations.
Function declarations take precedence over variable declarations.
Example: console.log(x); var x = 5; // Output: undefined
Event loop is a mechanism in programming that allows for asynchronous execution of code.
Event loop is commonly used in JavaScript to handle asynchronous operations.
It allows for non-blocking I/O operations by continuously checking the event queue.
Event loop ensures that the program does not get stuck waiting for a single operation to complete.
EventEmitter is a class in Node.js that allows multiple functions to be attached to an event and triggered when the event is emitted.
EventEmitter is a core module in Node.js that allows communication between objects in a loosely coupled way.
It is used for handling events in Node.js applications.
Listeners can be attached to EventEmitter instances using the 'on' method and events can be emitted using the 'emit' method.
Ex...
Request and Response objects are created in Node.js using the 'http' module.
Require the 'http' module in your code
Use the 'http.createServer()' method to create a server
Access the request and response objects in the callback function
let, var, and const are all used to declare variables in JavaScript, but they have different scopes and behaviors.
let: block-scoped variable, can be reassigned
var: function-scoped variable, can be reassigned
const: block-scoped variable, cannot be reassigned, but its properties can be modified
No, you cannot declare a variable with the same name using var keyword.
Variables declared with var keyword can only be declared once within the same scope
Attempting to declare a variable with the same name using var will result in a syntax error
Middleware is software that acts as a bridge between different applications or components, allowing them to communicate and work together.
Middleware facilitates communication between different software components
It can handle tasks such as data conversion, security, and logging
Examples include message brokers like RabbitMQ, web servers like Apache Tomcat, and API gateways like Kong
Debugging memory leaks involves identifying the source of the leak and fixing it to free up memory.
Use memory profiling tools like Valgrind or Instruments to detect memory leaks
Check for unreleased memory allocations in the code
Look for circular references or retain cycles in object-oriented programming languages
Use tools like LeakSanitizer in C/C++ programs to detect memory leaks
Review code for potential memory leaks,
I was interviewed before Sep 2020.
Round duration - 140 minutes
Round difficulty - Medium
Test timing was at 2:00 pm , it was conducted in a college and the environment was good for the test. Camera was a primary part of test, so no suspicious activity.
Given two numbers in the form of two arrays where each element of the array represents a digit, calculate the sum of these two numbers and return this sum as an ar...
Given two numbers represented as arrays, calculate their sum and return the result as an array.
Iterate through the arrays from right to left, adding digits and carrying over if necessary
Handle cases where one array is longer than the other by considering the remaining digits
Ensure the final sum array does not have any leading zeros
Round duration - 20 minutes
Round difficulty - Easy
The round was conducted at around 12 p.m. I was called at the college location and then it was conducted. The interviewer was quite polite and frank.
Round duration - 8 minutes
Round difficulty - Easy
This round was conducted right after finishing and clearing the technical round at the same place and on the same day.
Tip 1 : Practice atleast 2-3 Coding problems daily so your logic building becomes stronger.
Tip 2 : Exercise problems based on OOPS concepts and others too.
Tip 3 : If you can have your own project built, then it's the major point and will act as a plus point.
Tip 1 : Your resume should be in standard form, short and simple will be more effective.
Tip 2 : Whatever you have learned, you need to mention it in your resume as that will be your primary source of selection and having project on your resume is important.
I applied via Campus Placement and was interviewed before Feb 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed in Dec 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
I was interviewed before Jun 2021.
Round duration - 180 minutes
Round difficulty - Easy
It was an mcq + coding round. There were aptitude and ouput based question in mcq. And coding questions were easy
Given an integer array 'ARR' of size 'N' containing numbers from 0 to (N - 2). Each number appears at least once, and there is one number that appears twice. Yo...
Find the duplicate number in an array of integers from 0 to (N-2).
Iterate through the array and keep track of the frequency of each number using a hashmap.
Return the number with a frequency greater than 1 as the duplicate number.
Time complexity can be optimized to O(N) using Floyd's Tortoise and Hare algorithm.
You are provided with a string S
and an array of integers A
of size M
. Your task is to perform M
operations on the string as specified by the indices in array A
...
Given a string and an array of indices, reverse substrings based on the indices to obtain the final string.
Iterate through the array of indices and reverse the substrings accordingly
Ensure the range specified by each index is non-empty
Return the final string after all operations are completed
Round duration - 60 Minutes
Round difficulty - Easy
It was technical + hr round. there were 2 people as interviewer. They stated from intro and asked some basic puzzles and hr questions. After that they asked about my projects, technologies and some ds algo and dbms questions.
Tip 1 : Practice aptitude
Tip 2 : Focus on practicing coding
Tip 3 : Learn from mistakes
Tip 1 : Mention some projects that you have done
Tip 2 : Try to have skills that are required for the role
I applied via Job Portal and was interviewed before Jan 2021. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Aug 2021. There were 2 interview rounds.
Easy DSA questions and some questions on resume
I applied via Campus Placement and was interviewed in Mar 2020. There was 1 interview round.
To get the second to last element from a SQL table, use the OFFSET-FETCH clause.
Use the ORDER BY clause to sort the table in descending order.
Use the OFFSET-FETCH clause to skip the last row and fetch the second to last row.
Example: SELECT column_name FROM table_name ORDER BY column_name DESC OFFSET 1 ROWS FETCH NEXT 1 ROWS ONLY;
Fan trap is a situation in which a query involving multiple tables results in a Cartesian product.
Fan trap occurs when a table is connected to multiple tables in a one-to-many relationship.
It can be solved by creating a bridge table or by using aggregate functions.
For example, if a customer table is connected to an orders table and a products table, a fan trap can occur when trying to retrieve information about custome...
Dynamic break in report allows for automatic page breaks based on data.
Define a break field in the report design
Set the break field to trigger a page break when its value changes
Use dynamic break to automatically adjust page breaks based on data
Example: A report on sales by region can use dynamic break to create a new page for each region
Foreach function is used to iterate through an array of strings in a report.
Foreach function is used to loop through each element in an array of strings.
It can be used to display each element in a report.
Example: foreach(string item in stringArray){ Console.WriteLine(item); }
Aggregate awareness is a feature in Business Objects that allows reports to be optimized for performance by using aggregate tables.
Aggregate awareness is used when creating reports in Business Objects
It allows the report to use aggregate tables instead of detailed tables for improved performance
Syntax: AGGR_AWARE( Example: AGGR_AWARE(Product, Sum(Sales), Sales_Fact_Table) The @prompt function syntax is used to display a prompt message to the user and receive input. The syntax is @prompt('message', 'default value') The message is the prompt message to be displayed to the user The default value is optional and will be displayed in the input field The function returns the value entered by the user
based on 1 interview
Interview experience
₹0
L/yr - ₹0
L/yr
₹0
L/yr - ₹0
L/yr
₹0
L/yr - ₹0
L/yr
₹0
L/yr - ₹0
L/yr
TCS Accenture Wipro Cognizant)
Tell us how to improve this page.
Interview Questions for Popular Designations
Treez Software Engineer Interview Process
Software Engineer Interview Questions from Similar Companies
Explore more salaries
Software Engineer
Technical Lead
Senior Manager-HR
Senior Software Engineer