Filter interviews by
Be the first one to contribute and help others!
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...
Yes, social media can be used for educational purposes.
Social media provides a platform for sharing educational content and resources.
It allows for collaboration and discussion among students and educators.
Social media can enhance engagement and motivation in learning.
It provides access to a wide range of educational materials and online courses.
Examples include using Facebook groups for class discussions, YouTube for ...
The present CEO is John Smith.
The present CEO is John Smith.
John Smith has been the CEO since 2015.
Under John Smith's leadership, the company has experienced significant growth and expansion.
John Smith has a background in engineering and has previously held executive positions in other companies.
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 8 reviews
Rating in categories
Maintenance Engineer
4
salaries
| ₹4 L/yr - ₹6 L/yr |
QC Engineer
4
salaries
| ₹3.8 L/yr - ₹5.5 L/yr |
Welder
4
salaries
| ₹2.8 L/yr - ₹3.6 L/yr |
Store Executive
4
salaries
| ₹2.5 L/yr - ₹3.8 L/yr |
Legal Head
4
salaries
| ₹21 L/yr - ₹24 L/yr |
TCS
Accenture
Infosys
Wipro