Filter interviews by
Top trending discussions
I applied via Campus Placement and was interviewed before Apr 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed before Aug 2021. There were 2 interview rounds.
Mcq based on language
STL knowledge and finding loop in linked list
STL (Standard Template Library) is a C++ library that provides containers, algorithms, and iterators.
To find a loop in a linked list, we can use Floyd's cycle-finding algorithm.
In this algorithm, we use two pointers, one moving at a slower pace and the other at a faster pace.
If there is a loop in the linked list, the faster pointer will eventually catch up to the slower poin...
Handle exceptions by using try-catch blocks to gracefully manage errors in code execution.
Use try-catch blocks to catch exceptions and handle them appropriately.
Throw custom exceptions when necessary to provide more specific error information.
Use finally block to execute code that should always run, regardless of whether an exception is thrown.
Avoid catching generic exceptions like Exception class, instead catch specif...
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Allows for code reusability by creating a new class based on an existing class
Derived class inherits properties and behaviors of the base class
Supports the 'is-a' relationship, where a derived class is a specialized version of the base class
I appeared for an interview before May 2023.
Programming easy question to understand your logical thinking.
posted on 29 Nov 2022
CSS3 flexbox is a layout module that provides a more efficient way to align and distribute space among items in a container.
Flexbox allows for flexible and responsive layouts without using floats or positioning.
It uses a parent container and child elements with flexible properties to create the layout.
Properties include justify-content, align-items, and flex-wrap.
Flexbox is supported by all modern browsers.
Example:
Position property in CSS3 is used to set the position of an element relative to its parent or the viewport.
The position property can take values like static, relative, absolute, fixed, and sticky.
Static is the default value and elements are positioned according to the normal flow of the document.
Relative positions the element relative to its normal position.
Absolute positions the element relative to its nearest positio...
Closure is a function that has access to its parent scope even after the parent function has returned.
Closure allows for private variables and functions in JavaScript.
It is created when a function returns another function.
The inner function has access to the outer function's variables and parameters.
Example: function outer() { let x = 10; return function inner() { console.log(x); } }
Example: const innerFunc = outer(); ...
Prototype is a property of an object that allows adding new properties and methods to an object.
Prototype is a blueprint for creating objects
It allows inheritance by sharing properties and methods between objects
Modifying the prototype affects all objects created from it
Prototype chain allows accessing properties and methods of parent objects
Example: Array.prototype includes() method
Pipe is a feature in Angular that allows transforming data before displaying it in the view.
Pipes are used to format and manipulate data in Angular templates.
They can be used to filter, sort, and transform data.
Pipes can be chained together to perform multiple transformations.
Angular provides built-in pipes like DatePipe, CurrencyPipe, and LowerCasePipe.
Custom pipes can also be created to meet specific requirements.
A directive is a component that adds behavior to an existing element or component in Angular.
Directives are used to manipulate the DOM, add event listeners, and create reusable components.
There are three types of directives in Angular: component, attribute, and structural.
Examples of built-in directives in Angular include ngIf, ngFor, and ngStyle.
Custom directives can be created using the @Directive decorator.
A component in Angular is a reusable piece of UI that consists of HTML, CSS, and TypeScript code.
Components are the building blocks of Angular applications.
Each component has its own logic and view.
Components can be nested within other components.
Components can communicate with each other using @Input and @Output decorators.
Examples of components include a login form, a navigation menu, and a product list.
Observables are a way to handle asynchronous data streams in Angular using RxJS library.
Observables are similar to promises but can handle multiple values over time.
They can be used for handling events, HTTP requests, and other asynchronous operations.
Operators can be used to transform, filter, and combine observables.
Subscriptions are used to listen to observables and receive data.
Example: fetching data from an API us...
Event loop is a continuous process that runs in the background and handles all the events in the application.
Event loop continuously checks for new events in the event queue.
It processes each event one by one in a synchronous manner.
If an event takes too long to process, it can block the event loop and cause the application to freeze.
Event loop can be controlled using setTimeout(), setInterval(), and setImmediate() met...
posted on 1 Feb 2024
I'm a passionate software developer with a strong background in full-stack development and a love for problem-solving.
Over 5 years of experience in software development, specializing in JavaScript and Python.
Worked on a project that improved application performance by 30% through code optimization.
Collaborated with cross-functional teams to deliver high-quality software solutions on time.
Strong understanding of Agile m...
posted on 13 Dec 2021
I appeared for an interview in Nov 2021.
I applied via Campus Placement and was interviewed in Jan 2022. There were 2 interview rounds.
I appeared for an interview before May 2021.
Round duration - 60 Minutes
Round difficulty - Medium
Online Technical Interview ( Coding Round) with 2 medium-hard problem
You are given a long type array/list ARR
of size N
, representing an elevation map. The value ARR[i]
denotes the elevation of the ith
bar. Your task is to determine th...
Calculate the total amount of rainwater that can be trapped between given elevations in an elevation map.
Iterate through the array to find the maximum height on the left and right of each bar.
Calculate the amount of water that can be trapped above each bar by taking the minimum of the maximum heights on the left and right.
Sum up the trapped water above each bar to get the total trapped water for the elevation map.
You are provided with an unsorted array/list ARR
of N
integers. Your task is to determine the length of the longest consecutive sequence present in the array...
Find the length of the longest consecutive sequence in an unsorted array of integers.
Iterate through the array and store each element in a set for constant time lookup.
For each element, check if it is the start of a sequence by looking for its previous number in the set.
Update the length of the current consecutive sequence and track the longest sequence found so far.
Return the length of the longest consecutive sequence...
Round duration - 60 Minutes
Round difficulty - Medium
Online Technical Coding Interview
Develop a Stack Data Structure to store integer values using two Queues internally.
Your stack implementation should provide these public functions:
Implement a stack using two queues to store integer values with specified functions.
Create a stack using two queues internally
Implement functions for push, pop, top, size, and isEmpty
Handle edge cases such as empty stack or invalid data
Ensure the stack functions work correctly and efficiently
Test the implementation with sample inputs and outputs
Given a binary tree, your task is to print the left view of the tree. The left view of a binary tree contains the nodes visible when the tree is viewed from the left side.
Print the left view of a binary tree, containing nodes visible from the left side.
Traverse the tree in a level order manner and print the first node at each level.
Use a queue to keep track of nodes at each level.
Handle null nodes represented by -1 in the input.
Tip 1 : Practice problem solving as much as you can
Tip 2 : Try to solve online coding problem as much as possible to get good understanding of DSA
Tip 3 : Be confident with your Resume
Tip 1 : Should have some projects on resume
Tip 2 : Resume sections should be clear and no false information
Network Engineer
24
salaries
| ₹1.4 L/yr - ₹3.5 L/yr |
Associate NOC Engineer
11
salaries
| ₹1.3 L/yr - ₹3 L/yr |
Service Assurance Manager
7
salaries
| ₹4.6 L/yr - ₹8 L/yr |
Sales Manager
6
salaries
| ₹3.5 L/yr - ₹9 L/yr |
L2 Network Engineer
5
salaries
| ₹1.6 L/yr - ₹4.5 L/yr |
Jio
Vodafone Idea
Bharti Airtel
Reliance Communications