Filter interviews by
A transformer is an electrical device that transfers electrical energy from one circuit to another through electromagnetic induction.
Transformers are used to increase or decrease the voltage of an alternating current (AC) power supply.
They work on the principle of electromagnetic induction, where a changing magnetic field induces a voltage in a coil of wire.
Transformers consist of two coils of wire, called the primary ...
A motor is a device that converts electrical energy into mechanical energy, while a generator does the opposite.
Motors use electrical energy to create rotational motion, while generators use rotational motion to create electrical energy.
Motors are commonly used in appliances, vehicles, and industrial machinery, while generators are used in power plants and backup generators.
Both motors and generators use electromagneti...
Top trending discussions
The person can escape the island by creating a firebreak or finding a body of water.
Create a firebreak by clearing a path of grass around oneself to prevent the fire from spreading.
Look for a body of water such as a lake, river, or ocean to escape the fire.
If no water source is available, try to find a sheltered area with less dry grass to wait for the fire to pass.
Use any available tools or materials to help create a
I know multiple programming languages including Java, Python, and C++.
Proficient in Java with experience in developing web applications using Spring framework
Familiar with Python for data analysis and machine learning
Experience in C++ for developing high-performance applications
Also familiar with HTML, CSS, and JavaScript for front-end development
Class is a blueprint for creating objects, encapsulation is the process of hiding data and methods within a class.
Class is a template or blueprint that defines the properties and behaviors of an object.
Encapsulation is the process of bundling data and methods together within a class, hiding the internal details from the outside world.
Other features of OOP include inheritance, polymorphism, and abstraction.
Inheritance a...
Program to find the sum of squares of each term of Fibonacci series
Generate Fibonacci series using loop or recursion
Calculate square of each term
Add all squares to get the sum
I would like to join Cognizant because of its reputation as a leading global technology and consulting company.
Cognizant has a strong presence in the industry and is known for its innovative solutions.
I am impressed by Cognizant's commitment to digital transformation and its ability to deliver value to clients.
The company offers excellent career growth opportunities and a supportive work environment.
Cognizant's diverse...
Determining toll for Jamuna Expressway
Consider the distance of the expressway
Analyze the maintenance cost of the expressway
Take into account the traffic volume and expected revenue
Compare with toll rates of similar expressways
Consider the economic status of the region
Consult with experts and stakeholders
Print the level order traversal of binary tree in spiral form
Perform level order traversal of the binary tree
Alternate the direction of traversal for each level
Use a stack to reverse the order of nodes in each level
Print the nodes in the order of traversal
Find the maximum element in each subarray of size k in a given array.
Iterate through the array from index 0 to n-k.
For each subarray of size k, find the maximum element.
Store the maximum elements in a separate array.
Return the array of maximum elements.
To find the Kth largest element in two sorted arrays, we can use the merge step of merge sort algorithm.
Merge the two arrays into a single sorted array using a modified merge sort algorithm.
Return the Kth element from the merged array.
Merge two sorted arrays into one sorted array with expected time complexity of (m+n).
Use a two-pointer approach to compare elements from both arrays and merge them into the first array.
Start comparing elements from the end of both arrays and place the larger element at the end of the first array.
Continue this process until all elements from the second array are merged into the first array.
based on 6 reviews
Rating in categories
HR Manager
3
salaries
| ₹3 L/yr - ₹3 L/yr |
System Administrator
3
salaries
| ₹2.9 L/yr - ₹3.2 L/yr |
Electrical Project Engineer
3
salaries
| ₹3.6 L/yr - ₹4.9 L/yr |
TCS
Accenture
Wipro
Cognizant